diff options
Diffstat (limited to 'include/zmk/keys.h')
-rw-r--r-- | include/zmk/keys.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/zmk/keys.h b/include/zmk/keys.h index be05784..6966bba 100644 --- a/include/zmk/keys.h +++ b/include/zmk/keys.h @@ -3,11 +3,15 @@ #include <zephyr.h> #include <dt-bindings/zmk/keys.h> -typedef u64_t zmk_key; +typedef u32_t zmk_key; +typedef u8_t zmk_action; typedef u8_t zmk_mod; +typedef u8_t zmk_mod_flags; struct zmk_key_event { + u32_t column; + u32_t row; zmk_key key; bool pressed; };
\ No newline at end of file |