summaryrefslogtreecommitdiff
path: root/src/usb_hid.h
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-05-12 14:15:33 -0400
committerPete Johanson <peter@peterjohanson.com>2020-05-12 14:15:33 -0400
commit04fe57d3a30c0bb37022e8b019293dbb1fc56197 (patch)
tree0b4be495b23a4be9226acfc24de018baa6aac4df /src/usb_hid.h
parentbe53560b77b1144953cfb57202c463495da6c4e7 (diff)
Some refactoring to prep for BLE support.
Diffstat (limited to 'src/usb_hid.h')
-rw-r--r--src/usb_hid.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/usb_hid.h b/src/usb_hid.h
index 5bcd8bf..1f331cd 100644
--- a/src/usb_hid.h
+++ b/src/usb_hid.h
@@ -4,11 +4,13 @@
#include <usb/usb_device.h>
#include <usb/class/usb_hid.h>
+#include "keys.h"
+
int zmk_usb_hid_init();
// TODO: Modifiers!
-int zmk_usb_hid_press_key(enum hid_kbd_code code);
-int zmk_usb_hid_release_key(enum hid_kbd_code code);
+int zmk_usb_hid_press_key(zmk_key key);
+int zmk_usb_hid_release_key(zmk_key key);
#endif