fix: scan all keys

This commit is contained in:
raphaelcoeffic
2023-07-30 07:37:11 +02:00
parent 574369aca4
commit 032d581821
+1 -1
View File
@@ -330,7 +330,7 @@ bool keysPollingCycle()
trims_input = readTrims();
#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));
if (evt) {
if (i != KEY_SHIFT && evt != _MSK_KEY_REPT) {