diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/class/hid/hid_device.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/class/hid/hid_device.c b/src/class/hid/hid_device.c index 7aeb39957..316067e61 100644 --- a/src/class/hid/hid_device.c +++ b/src/class/hid/hid_device.c @@ -446,6 +446,8 @@ tusb_error_t hidd_xfer_cb(uint8_t rhport, uint8_t edpt_addr, tusb_event_t event, /*------------------------------------------------------------------*/
/* Ascii to Keycode
*------------------------------------------------------------------*/
+#if CFG_TUD_HID_ASCII_TO_KEYCODE_LOOKUP
+
const hid_ascii_to_keycode_entry_t HID_ASCII_TO_KEYCODE[128] =
{
{0, 0 }, // 0x00 Null
@@ -582,3 +584,5 @@ const hid_ascii_to_keycode_entry_t HID_ASCII_TO_KEYCODE[128] = };
#endif
+
+#endif
|
