Some refactoring to prep for BLE support.

This commit is contained in:
Pete Johanson
2020-05-12 14:15:33 -04:00
parent be53560b77
commit 04fe57d3a3
8 changed files with 43 additions and 19 deletions

View File

@@ -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