2020-05-06 06:09:05 +10:00
|
|
|
#ifndef ZMK_USB_HID
|
|
|
|
#define ZMK_USB_HID
|
|
|
|
|
|
|
|
#include <usb/usb_device.h>
|
|
|
|
#include <usb/class/usb_hid.h>
|
|
|
|
|
2020-05-13 04:15:33 +10:00
|
|
|
#include "keys.h"
|
|
|
|
|
2020-05-06 06:09:05 +10:00
|
|
|
int zmk_usb_hid_init();
|
|
|
|
|
|
|
|
// TODO: Modifiers!
|
|
|
|
|
2020-05-13 04:15:33 +10:00
|
|
|
int zmk_usb_hid_press_key(zmk_key key);
|
|
|
|
int zmk_usb_hid_release_key(zmk_key key);
|
2020-05-06 06:09:05 +10:00
|
|
|
|
|
|
|
#endif
|