summaryrefslogtreecommitdiff
path: root/include/zmk/keys.h
diff options
context:
space:
mode:
authorPeter <peter@peterjohanson.com>2020-05-25 03:19:21 +0000
committerPeter <peter@peterjohanson.com>2020-05-25 03:19:21 +0000
commit96b87b2594d590b9eed009803218f773716fd2ac (patch)
tree6845d7cd69f18284ee47dc415930850ffffc6fd4 /include/zmk/keys.h
parented5532bf94e93d25e35498cfd7a9040b0c69597b (diff)
parent76a433fc392be31e56df256b630a21e61775d0af (diff)
Merge branch 'actions/mod-tap-initial-work' into 'master'
Actions: Mod-Tap initial work See merge request zmkproject/zmk!1
Diffstat (limited to 'include/zmk/keys.h')
-rw-r--r--include/zmk/keys.h6
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