kvm/ui/src/hooks
Silke pilon 9f27a5d5c3 feat(macros): add text/wait step types and improve delays
Lower minimum step delay to 10ms to allow finer-grained macro timing.
Introduce optional "text" and "wait" fields on macro steps (Go and
TypeScript types, JSON-RPC parsing) so steps can either type text using
the selected keyboard layout or act as explicit wait-only pauses.

Implement client-side expansion of text steps into per-character key
events (handling shift, AltRight, dead/accent keys and trailing space)
and wire expansion into both remote and client-side macro execution.
Adjust macro execution logic to treat wait steps as no-op delays and
ensure key press followed by explicit release delay is sent for typed
keys.

These changes enable richer macro semantics (text composition and
explicit waits) and more responsive timing control.
2025-09-21 15:49:48 +02:00
..
hidRpc.ts feat: release keyPress automatically (#796) 2025-09-18 13:35:47 +02:00
stores.ts feat(macros): add text/wait step types and improve delays 2025-09-21 15:49:48 +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 feat: release keyPress automatically (#796) 2025-09-18 13:35:47 +02:00
useJsonRpc.ts feat: get local version only (#813) 2025-09-19 13:45:59 +02:00
useKeyboard.ts feat(macros): add text/wait step types and improve delays 2025-09-21 15:49:48 +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
useVersion.tsx feat: get local version only (#813) 2025-09-19 13:45:59 +02:00