refactor(app): replace zmk_mod_flags with zmk_mod_flags_t

Aligns with typedef _t convention.

PR: #531
This commit is contained in:
innovaker
2020-12-19 17:33:15 +00:00
committed by Pete Johanson
parent 05b0d185a8
commit 87e7c04b00
6 changed files with 10 additions and 10 deletions

View File

@@ -147,7 +147,7 @@ static const uint8_t zmk_hid_report_desc[] = {
// } __packed;
struct zmk_hid_keyboard_report_body {
zmk_mod_flags modifiers;
zmk_mod_flags_t modifiers;
uint8_t _reserved;
uint8_t keys[ZMK_HID_KEYBOARD_NKRO_SIZE];
} __packed;
@@ -168,7 +168,7 @@ struct zmk_hid_consumer_report {
int zmk_hid_register_mod(zmk_mod_t modifier);
int zmk_hid_unregister_mod(zmk_mod_t modifier);
int zmk_hid_implicit_modifiers_press(zmk_mod_flags implicit_modifiers);
int zmk_hid_implicit_modifiers_press(zmk_mod_flags_t implicit_modifiers);
int zmk_hid_implicit_modifiers_release();
int zmk_hid_keyboard_press(zmk_key_t key);
int zmk_hid_keyboard_release(zmk_key_t key);