|
|
@ -28,6 +28,8 @@ static const struct hid_ops ops = { |
|
|
|
.int_in_ready = in_ready_cb, |
|
|
|
.int_in_ready = in_ready_cb, |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
enum usb_dc_status_code zmk_usb_hid_get_status() { return usb_status; } |
|
|
|
|
|
|
|
|
|
|
|
int zmk_usb_hid_send_report(const u8_t *report, size_t len) { |
|
|
|
int zmk_usb_hid_send_report(const u8_t *report, size_t len) { |
|
|
|
switch (usb_status) { |
|
|
|
switch (usb_status) { |
|
|
|
case USB_DC_SUSPEND: |
|
|
|
case USB_DC_SUSPEND: |
|
|
|