This commit is contained in:
hathach 2018-07-26 16:01:14 +07:00
parent a9c04e9ff1
commit faf88d00c2

View File

@ -446,6 +446,8 @@ tusb_error_t hidd_xfer_cb(uint8_t rhport, uint8_t edpt_addr, tusb_event_t event,
/*------------------------------------------------------------------*/ /*------------------------------------------------------------------*/
/* Ascii to Keycode /* Ascii to Keycode
*------------------------------------------------------------------*/ *------------------------------------------------------------------*/
#if CFG_TUD_HID_ASCII_TO_KEYCODE_LOOKUP
const hid_ascii_to_keycode_entry_t HID_ASCII_TO_KEYCODE[128] = const hid_ascii_to_keycode_entry_t HID_ASCII_TO_KEYCODE[128] =
{ {
{0, 0 }, // 0x00 Null {0, 0 }, // 0x00 Null
@ -582,3 +584,5 @@ const hid_ascii_to_keycode_entry_t HID_ASCII_TO_KEYCODE[128] =
}; };
#endif #endif
#endif