From e8e8f93bcf0cdc8d72d35662db5a1da4716762b8 Mon Sep 17 00:00:00 2001 From: tmk Date: Tue, 8 Oct 2013 12:23:25 +0900 Subject: Fix ADB missing keystrokes problem Thanks, blargg! #14 - Add delay between scans to prevent overlaod of ADB keyboard controllers - --- protocol/adb.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'protocol') diff --git a/protocol/adb.c b/protocol/adb.c index e4e26b7d7b..155d223fe7 100644 --- a/protocol/adb.c +++ b/protocol/adb.c @@ -83,6 +83,12 @@ bool adb_host_psw(void) } #endif +/* + * Don't call this in a row without the delay, otherwise it makes some of poor controllers + * overloaded and misses strokes. Recommended delay is 16ms. + * + * Thanks a lot, blargg! + */ uint16_t adb_host_kbd_recv(void) { uint16_t data = 0; -- cgit v1.2.3