diff options
author | tmk <nobody@nowhere> | 2010-12-11 23:20:49 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2010-12-11 23:20:49 +0900 |
commit | 1ed336a06499c1baee2421141d59d115f0ee3c4b (patch) | |
tree | 0695d24880a3a808967eaef4d75e8b17a8388e86 /usb_keyboard.h | |
parent | 51f17f02317700e64b3c1113fe230d78bac7fecd (diff) |
change keyboard report descriptor for NKRO.
It uses 1byte for modifiers and 15bytes(120bits) for keys now.
Diffstat (limited to 'usb_keyboard.h')
-rw-r--r-- | usb_keyboard.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usb_keyboard.h b/usb_keyboard.h index 88a641f767..ebb3eb0487 100644 --- a/usb_keyboard.h +++ b/usb_keyboard.h @@ -18,7 +18,7 @@ #define KBD2_ENDPOINT 5 #define KBD2_SIZE 16 #define KBD2_BUFFER EP_DOUBLE_BUFFER -#define KBD2_REPORT_KEYS (KBD2_SIZE - 2) +#define KBD2_REPORT_KEYS (KBD2_SIZE - 1) #endif #if defined(KBD2_REPORT_KEYS) && KBD2_REPORT_KEYS > KBD_REPORT_KEYS |