mirror of https://github.com/jetkvm/kvm.git
fix: update keysDownState handling
This commit is contained in:
parent
455ab1bf02
commit
ade9a4961a
|
@ -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
|
// 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],
|
[send, setKeysDownState],
|
||||||
|
|
Loading…
Reference in New Issue