mirror of
https://github.com/osiweb/unified_retro_keyboard.git
synced 2025-03-22 15:30:49 +00:00
Fix slow repeat on some columns (Fixes #15)
Removed a bit of logic from the column bit test code that created different scan rates for different columns.
This commit is contained in:
parent
7796b7f753
commit
45329de193
@ -561,7 +561,7 @@ void asdf_keyscan(void)
|
||||
asdf_cols_t changed = row_key_state ^ last_stable_key_state[row];
|
||||
|
||||
// loop over the bits until all changed or pressed keys in the row are handled.
|
||||
for (uint8_t col = 0; (changed || row_key_state) && col < asdf_keymaps_num_cols(); col++) {
|
||||
for (uint8_t col = 0; /*(changed || row_key_state) && */col < asdf_keymaps_num_cols(); col++) {
|
||||
if (changed & 1) {
|
||||
// key state is different from last stable state
|
||||
asdf_handle_key_press_or_release(row, col, row_key_state & 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user