From 53aadc4f931a27d7b1350ea99cdc79106e138ad3 Mon Sep 17 00:00:00 2001 From: Pete Johanson Date: Fri, 22 May 2020 22:47:03 -0400 Subject: Initial exploration of mod tap action. --- include/zmk/hid.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/zmk/hid.h') diff --git a/include/zmk/hid.h b/include/zmk/hid.h index 8fbcf4f..3767b78 100644 --- a/include/zmk/hid.h +++ b/include/zmk/hid.h @@ -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); -- cgit v1.2.3