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/keys.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/zmk/keys.h') 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 #include -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 -- cgit v1.2.3