I'm having some latency sometimes when I'm pressing multiple keys on my bt controller. It doesn't happen often, but sometimes it will fail to register when I try to press like 3 keys at once. (cmd + alt + arrow that I mapped to the lower right) for example. Is there a way to increase the scan rate or something? I might try reverting to the regular board to see if that's just the bt board having issues though, I got this hhkb in a trade that came with a hasu controller preinstalled. Thanks!
Assuming you are using Pro2, so you press 4 keys actually including Fn to register the key combo, right? And it would be helpful to narrow possible causes and debug if you can share your keymap.
This latency happens with Bluetooth, USB or both? And you are using it on Mac, right?
Could you try this patch? This doesn't increase scan rate but may solve or mitigates the issue.
diff --git a/tmk_core/common/keyboard.c b/tmk_core/common/keyboard.c
index b031936..6057ea1 100644
--- a/tmk_core/common/keyboard.c
+++ b/tmk_core/common/keyboard.c
@@ -137,8 +137,10 @@ void keyboard_task(void)
hook_matrix_change(e);
// record a processed key
matrix_prev[r] ^= ((matrix_row_t)1<<c);
+
+ // This can miss stroke when scan matrix takes long like Topre
// process a key per task call
- goto MATRIX_LOOP_END;
+ //goto MATRIX_LOOP_END;
}
}
}
Welp, the lag is still there sometimes. Yes, 4 key combos misses sometimes. I'm currently using 3 keys, and it seems better, but it still misses occasionally. I'm going to try to increase the scan rate too to test how it goes. (probably not to 30, 60 seems like a safe bet at the moment). Thanks! PS: yes I'm on a Mac
Edit: Identified a problem - if i press both cmd and alt at almost the same time, and press <- or -> , it fails to register correctly. Must be the way the keyscans work, will poke through the code afterwards.
Edit2: Realized that NKRO doesn't work over bluetooth, LOL. Will test again on USB when I get back from outside.