From 1ed336a06499c1baee2421141d59d115f0ee3c4b Mon Sep 17 00:00:00 2001 From: tmk Date: Sat, 11 Dec 2010 23:20:49 +0900 Subject: change keyboard report descriptor for NKRO. It uses 1byte for modifiers and 15bytes(120bits) for keys now. --- usb_keyboard.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usb_keyboard.h') diff --git a/usb_keyboard.h b/usb_keyboard.h index 88a641f76..ebb3eb048 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 -- cgit v1.2.3