kopia lustrzana https://github.com/OpenRTX/OpenRTX
Increase keyboard thread polling rate to 40Hz to improve knob reactivity
rodzic
70a0eeaf29
commit
1fbecb4c22
|
@ -204,8 +204,8 @@ void *kbd_task(void *arg)
|
|||
// Save current keyboard state as previous
|
||||
prev_keys = keys;
|
||||
|
||||
// Read keyboard state at 20Hz
|
||||
sleepFor(0u, 50u);
|
||||
// Read keyboard state at 40Hz
|
||||
sleepFor(0u, 25u);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue