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 - --- converter/adb_usb/matrix.c | 1 + 1 file changed, 1 insertion(+) (limited to 'converter/adb_usb') diff --git a/converter/adb_usb/matrix.c b/converter/adb_usb/matrix.c index ee17f655f2..566592c93f 100644 --- a/converter/adb_usb/matrix.c +++ b/converter/adb_usb/matrix.c @@ -85,6 +85,7 @@ uint8_t matrix_scan(void) uint8_t key0, key1; is_modified = false; + _delay_ms(16); // delay for preventing overload of poor ADB keyboard controller codes = adb_host_kbd_recv(); key0 = codes>>8; key1 = codes&0xFF; -- cgit v1.2.3