mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-04-06 21:35:19 -05:00
Initial exploration of mod tap action.
This commit is contained in:
@@ -97,12 +97,14 @@ static const u8_t zmk_hid_report_desc[] = {
|
||||
|
||||
struct zmk_hid_report
|
||||
{
|
||||
u8_t modifiers;
|
||||
zmk_mod_flags modifiers;
|
||||
u8_t keys[13];
|
||||
} __packed;
|
||||
|
||||
int zmk_hid_register_mod(zmk_mod modifier);
|
||||
int zmk_hid_unregister_mod(zmk_mod modifier);
|
||||
int zmk_hid_register_mods(zmk_mod_flags modifiers);
|
||||
int zmk_hid_unregister_mods(zmk_mod_flags modifiers);
|
||||
int zmk_hid_press_key(zmk_key key);
|
||||
int zmk_hid_release_key(zmk_key key);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user