Get *basic* USB report sending working.
This commit is contained in:
parent
fe961d54a3
commit
a63a773983
8 changed files with 126 additions and 11 deletions
14
src/usb_hid.h
Normal file
14
src/usb_hid.h
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#ifndef ZMK_USB_HID
|
||||
#define ZMK_USB_HID
|
||||
|
||||
#include <usb/usb_device.h>
|
||||
#include <usb/class/usb_hid.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);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue