fix: scan all keys
This commit is contained in:
+1
-1
@@ -330,7 +330,7 @@ bool keysPollingCycle()
|
|||||||
trims_input = readTrims();
|
trims_input = readTrims();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
for (int i = 0; i < keysGetMaxKeys(); i++) {
|
for (int i = 0; i < MAX_KEYS; i++) {
|
||||||
event_t evt = keys[i].input(keys_input & (1 << i));
|
event_t evt = keys[i].input(keys_input & (1 << i));
|
||||||
if (evt) {
|
if (evt) {
|
||||||
if (i != KEY_SHIFT && evt != _MSK_KEY_REPT) {
|
if (i != KEY_SHIFT && evt != _MSK_KEY_REPT) {
|
||||||
|
|||||||
Reference in New Issue
Block a user