summaryrefslogtreecommitdiff
path: root/pjrc/usb_keyboard.c
diff options
context:
space:
mode:
authortmk2011-03-10 00:50:27 +0900
committertmk2011-03-10 11:17:54 +0900
commitcec254950509038ca9c805e87feea9091d77d29f (patch)
treec4f542b18dc080e32508aced1ee0ccce5cbf3a53 /pjrc/usb_keyboard.c
parent1a7c3585ed9a68099e371b3180a404dd5d08ce1a (diff)
FIX: send last report when idle timeouts. (pjrc)
Diffstat (limited to 'pjrc/usb_keyboard.c')
-rw-r--r--pjrc/usb_keyboard.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pjrc/usb_keyboard.c b/pjrc/usb_keyboard.c
index fc05f7c9e..8aae2d381 100644
--- a/pjrc/usb_keyboard.c
+++ b/pjrc/usb_keyboard.c
@@ -15,6 +15,7 @@ uint8_t usb_keyboard_protocol=1;
// the idle configuration, how often we send the report to the
// host (ms * 4) even when it hasn't changed
+// Windows and Linux set 0 while OS X sets 6(24ms) by SET_IDLE request.
uint8_t usb_keyboard_idle_config=125;
// count until idle timeout