diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-05-18 23:34:36 -0400 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-05-18 23:34:36 -0400 |
commit | 585e062e87dbb227e73e2cb31d5041ff5520fb4d (patch) | |
tree | 37563658ffe61df3a76ff61cf9345e5bcd92017a /include/zmk/hid.h | |
parent | 5e34e7fec961493e67edaa5784473b375a8d40d2 (diff) |
Initial basic modifiers support.
Diffstat (limited to 'include/zmk/hid.h')
-rw-r--r-- | include/zmk/hid.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/zmk/hid.h b/include/zmk/hid.h index 9f0760a..8fbcf4f 100644 --- a/include/zmk/hid.h +++ b/include/zmk/hid.h @@ -101,6 +101,8 @@ struct zmk_hid_report u8_t keys[13]; } __packed; +int zmk_hid_register_mod(zmk_mod modifier); +int zmk_hid_unregister_mod(zmk_mod modifier); int zmk_hid_press_key(zmk_key key); int zmk_hid_release_key(zmk_key key); |