diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-05-12 14:15:33 -0400 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-05-12 14:15:33 -0400 |
commit | 04fe57d3a30c0bb37022e8b019293dbb1fc56197 (patch) | |
tree | 0b4be495b23a4be9226acfc24de018baa6aac4df /src/usb_hid.h | |
parent | be53560b77b1144953cfb57202c463495da6c4e7 (diff) |
Some refactoring to prep for BLE support.
Diffstat (limited to 'src/usb_hid.h')
-rw-r--r-- | src/usb_hid.h | 6 |
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 |