kvm/ui/src/hooks
Adam Shiervani e3eb8330fe refactor: simplify HID RPC keyboard input handling and improve key state management
- Updated `handleHidRPCKeyboardInput` to return errors directly instead of keys down state.
- Refactored `rpcKeyboardReport` and `rpcKeypressReport` to return errors instead of states.
- Introduced a queue for managing key down state updates in the `Session` struct to prevent input handling stalls.
- Adjusted the `UpdateKeysDown` method to handle state changes more efficiently.
- Removed unnecessary logging and commented-out code for clarity.
2025-09-18 13:09:43 +02:00
..
hidRpc.ts send keepalive when pressing the key 2025-09-18 13:07:25 +02:00
stores.ts fix: handshake won't happen if webrtc reconnects 2025-09-18 13:09:03 +02:00
useAppNavigation.ts Upgrade vite and react-router (#778) 2025-09-04 12:20:01 +02:00
useFeatureFlag.ts Apply and Upgrade Eslint (#288) 2025-03-25 11:56:24 +01:00
useHidRpc.ts refactor: simplify HID RPC keyboard input handling and improve key state management 2025-09-18 13:09:43 +02:00
useJsonRpc.ts Add ability to track modifier state on the device (#725) 2025-08-26 17:09:35 +02:00
useKeyboard.ts chore: update comment for KEEPALIVE_INTERVAL 2025-09-18 13:09:03 +02:00
useKeyboardLayout.ts Add ability to track modifier state on the device (#725) 2025-08-26 17:09:35 +02:00
useMouse.ts feat: hid rpc channel (#755) 2025-09-04 22:27:56 +02:00