summaryrefslogtreecommitdiff
path: root/src/handlers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/handlers.h')
-rw-r--r--src/handlers.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/handlers.h b/src/handlers.h
index 3a93572..382f3b8 100644
--- a/src/handlers.h
+++ b/src/handlers.h
@@ -1,12 +1,8 @@
#pragma once
-#include "keymap.h"
#include <dt-bindings/zmk/keys.h>
-struct zmk_key_event
-{
- zmk_key key;
- bool pressed;
-};
+#include "keymap.h"
+#include "keys.h"
void zmk_handle_key(struct zmk_key_event key_event);