fix: update keysDownState handling

This commit is contained in:
Adam Shiervani 2025-09-18 11:45:54 +02:00
parent 455ab1bf02
commit ade9a4961a
1 changed files with 5 additions and 5 deletions

View File

@ -87,7 +87,7 @@ export default function useKeyboard() {
}
// On older backends, we need to set the keysDownState manually since without the hidRpc API, the state doesn't trickle down from the backend
setKeysDownState(MACRO_RESET_KEYBOARD_STATE);
setKeysDownState({ modifier, keys });
});
},
[send, setKeysDownState],