forked from kofal.net/zmk
Lots more pieces toward HID working again.
This commit is contained in:
8
app/include/zmk/behavior.h
Normal file
8
app/include/zmk/behavior.h
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
struct zmk_behavior_binding {
|
||||
char *behavior_dev;
|
||||
u32_t param1;
|
||||
u32_t param2;
|
||||
};
|
||||
13
app/include/zmk/events.h
Normal file
13
app/include/zmk/events.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
int zmk_events_position_pressed(u32_t row, u32_t column);
|
||||
int zmk_events_position_released(u32_t row, u32_t column);
|
||||
int zmk_events_keycode_pressed(u32_t keycode);
|
||||
int zmk_events_keycode_released(u32_t keycode);
|
||||
int zmk_events_mod_pressed(u32_t modifier);
|
||||
int zmk_events_mod_released(u32_t modifier);
|
||||
int zmk_events_consumer_key_pressed(u32_t usage);
|
||||
int zmk_events_consumer_key_released(u32_t usage);
|
||||
|
||||
// TODO: Encoders?
|
||||
// TODO: Sensors?
|
||||
Reference in New Issue
Block a user