summaryrefslogtreecommitdiff
path: root/include/zmk/keys.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/zmk/keys.h')
-rw-r--r--include/zmk/keys.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/zmk/keys.h b/include/zmk/keys.h
new file mode 100644
index 0000000..b61ef81
--- /dev/null
+++ b/include/zmk/keys.h
@@ -0,0 +1,12 @@
+#pragma once
+
+#include <zephyr.h>
+#include <dt-bindings/zmk/keys.h>
+
+typedef u64_t zmk_key;
+
+struct zmk_key_event
+{
+ zmk_key key;
+ bool pressed;
+}; \ No newline at end of file