chore(bw): cleanup and consolidate navigation code (#5896)

Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
This commit is contained in:
philmoz
2025-03-19 11:01:16 +10:00
committed by GitHub
co-authored by philmoz
parent 6973f07e07
commit 62a935bf84
19 changed files with 132 additions and 208 deletions
+1 -1
View File
@@ -311,7 +311,7 @@ bool trimDown(uint8_t idx)
return READ_TRIMS() & (1 << idx);
}
uint8_t keysGetState(uint8_t key)
bool keysGetState(uint8_t key)
{
if (key >= MAX_KEYS) return 0;
return keys[key].pressed();