summaryrefslogtreecommitdiff
path: root/usb_keyboard.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2010-12-11 23:20:49 +0900
committertmk <nobody@nowhere>2010-12-11 23:20:49 +0900
commit1ed336a06499c1baee2421141d59d115f0ee3c4b (patch)
tree0695d24880a3a808967eaef4d75e8b17a8388e86 /usb_keyboard.h
parent51f17f02317700e64b3c1113fe230d78bac7fecd (diff)
downloadqmk_firmware-1ed336a06499c1baee2421141d59d115f0ee3c4b.tar.gz
qmk_firmware-1ed336a06499c1baee2421141d59d115f0ee3c4b.zip
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.h2
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