Lots more pieces toward HID working again.
This commit is contained in:
parent
c23d752917
commit
d65629b9a0
19 changed files with 346 additions and 13 deletions
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?
|
||||
Loading…
Add table
Add a link
Reference in a new issue