summaryrefslogtreecommitdiffstats
path: root/converter
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-10-08 05:23:25 +0200
committertmk <nobody@nowhere>2013-10-08 05:23:25 +0200
commite8e8f93bcf0cdc8d72d35662db5a1da4716762b8 (patch)
tree70d355d125b724092f8891bee3753e169063725e /converter
parent63b3e2cbfbca26ca3705542fa241f6604d6aadda (diff)
downloadqmk_firmware-e8e8f93bcf0cdc8d72d35662db5a1da4716762b8.tar.gz
qmk_firmware-e8e8f93bcf0cdc8d72d35662db5a1da4716762b8.tar.xz
Fix ADB missing keystrokes problem Thanks, blargg! #14
- Add delay between scans to prevent overlaod of ADB keyboard controllers - <http://geekhack.org/index.php?topic=14290.msg1068919#msg1068919>
Diffstat (limited to 'converter')
-rw-r--r--converter/adb_usb/matrix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/converter/adb_usb/matrix.c b/converter/adb_usb/matrix.c
index ee17f655f..566592c93 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;