summaryrefslogtreecommitdiff
path: root/app/include/zmk/hid.h
diff options
context:
space:
mode:
authorinnovaker <66737976+innovaker@users.noreply.github.com>2020-12-19 17:32:02 +0000
committerPete Johanson <peter@peterjohanson.com>2020-12-28 10:20:12 -0500
commit87179698b42a627f4ab7653749377001cb090fed (patch)
treee98e40fc8dd73ba63aa54ab7b856b7b923fbc0a0 /app/include/zmk/hid.h
parent4fc17e0b3a32096923790f28226a15beffacc686 (diff)
refactor(app): replace zmk_key with zmk_key_t
Aligns with typedef _t convention. PR: #531
Diffstat (limited to 'app/include/zmk/hid.h')
-rw-r--r--app/include/zmk/hid.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/include/zmk/hid.h b/app/include/zmk/hid.h
index 1f755aa..c664082 100644
--- a/app/include/zmk/hid.h
+++ b/app/include/zmk/hid.h
@@ -170,12 +170,12 @@ int zmk_hid_register_mod(zmk_mod modifier);
int zmk_hid_unregister_mod(zmk_mod modifier);
int zmk_hid_implicit_modifiers_press(zmk_mod_flags implicit_modifiers);
int zmk_hid_implicit_modifiers_release();
-int zmk_hid_keyboard_press(zmk_key key);
-int zmk_hid_keyboard_release(zmk_key key);
+int zmk_hid_keyboard_press(zmk_key_t key);
+int zmk_hid_keyboard_release(zmk_key_t key);
void zmk_hid_keyboard_clear();
-int zmk_hid_consumer_press(zmk_key key);
-int zmk_hid_consumer_release(zmk_key key);
+int zmk_hid_consumer_press(zmk_key_t key);
+int zmk_hid_consumer_release(zmk_key_t key);
void zmk_hid_consumer_clear();
struct zmk_hid_keyboard_report *zmk_hid_get_keyboard_report();