diff options
author | patrickmt <40182064+patrickmt@users.noreply.github.com> | 2018-10-09 15:14:13 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-10-10 13:49:01 -0400 |
commit | ab91e07753720f8114d6c427139a1436e6efa3ce (patch) | |
tree | b2ba658e12b5396726945a6a22cb111013a1544e /tmk_core/protocol/arm_atsam/usb/udi_hid_kbd_desc.c | |
parent | f2965e1eeaf1769e106145a9d19f102fcd8fe4d4 (diff) |
Massdrop keyboards console device support for hid_listen
Added hid_listen USB device for arm_atsam USB protocol.
Debug printing is now done through the console device (CONSOLE_ENABLE = yes) rather than the virtser device, for viewing in hid_listen.
Function dpf(...) renamed to CDC_printf(...) and should now be called directly if intending to print to the virtual serial device.
Diffstat (limited to 'tmk_core/protocol/arm_atsam/usb/udi_hid_kbd_desc.c')
-rw-r--r-- | tmk_core/protocol/arm_atsam/usb/udi_hid_kbd_desc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tmk_core/protocol/arm_atsam/usb/udi_hid_kbd_desc.c b/tmk_core/protocol/arm_atsam/usb/udi_hid_kbd_desc.c index 16bd4e514c..2d6e35e254 100644 --- a/tmk_core/protocol/arm_atsam/usb/udi_hid_kbd_desc.c +++ b/tmk_core/protocol/arm_atsam/usb/udi_hid_kbd_desc.c @@ -134,6 +134,9 @@ UDC_DESC_STORAGE udc_desc_t udc_desc = { #ifdef EXK .hid_exk = UDI_HID_EXK_DESC, #endif +#ifdef CON + .hid_con = UDI_HID_CON_DESC, +#endif #ifdef NKRO .hid_nkro = UDI_HID_NKRO_DESC, #endif @@ -155,6 +158,9 @@ UDC_DESC_STORAGE udi_api_t *udi_apis[USB_DEVICE_NB_INTERFACE] = { #ifdef EXK &udi_api_hid_exk, #endif + #ifdef CON + &udi_api_hid_con, + #endif #ifdef NKRO &udi_api_hid_nkro, #endif |