forked from kofal.net/zmk
refactor(app): replace zmk_mod with zmk_mod_t
Aligns with typedef _t convention. PR: #531
This commit is contained in:
@@ -166,8 +166,8 @@ struct zmk_hid_consumer_report {
|
||||
struct zmk_hid_consumer_report_body body;
|
||||
} __packed;
|
||||
|
||||
int zmk_hid_register_mod(zmk_mod modifier);
|
||||
int zmk_hid_unregister_mod(zmk_mod modifier);
|
||||
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_release();
|
||||
int zmk_hid_keyboard_press(zmk_key_t key);
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <dt-bindings/zmk/keys.h>
|
||||
|
||||
typedef uint32_t zmk_key_t;
|
||||
typedef uint8_t zmk_mod;
|
||||
typedef uint8_t zmk_mod_t;
|
||||
typedef uint8_t zmk_mod_flags;
|
||||
|
||||
struct zmk_key_event {
|
||||
|
||||
Reference in New Issue
Block a user