1
0
Fork 0

Fix debouncing and add legacy keymap support

This commit is contained in:
tmk 2013-03-12 16:05:50 +09:00
parent c4ab832be0
commit 30f9baf898
10 changed files with 127 additions and 165 deletions

View file

@ -173,7 +173,6 @@ uint8_t matrix_scan(void)
if (debouncing) {
debug("bounce!: "); debug_hex(debouncing); print("\n");
}
_delay_ms(1); // improved affect on bouncing
debouncing = DEBOUNCE;
}
}
@ -181,6 +180,7 @@ uint8_t matrix_scan(void)
}
if (debouncing) {
_delay_ms(1);
debouncing--;
}