Commit Graph

8 Commits

Author SHA1 Message Date
Marc Brooks
3ec243255b
Add ability to track modifier state on the device (#725)
Remove LED sync source option and add keypress reporting while still working with devices that haven't been upgraded
We return the modifiers as the valid bitmask so that the VirtualKeyboard and InfoBar can represent the correct keys as down. This is important when we have strokes like Left-Control + Right-Control + Keypad-1 (used in switching KVMs and such).
Fix handling of modifier keys in client and also removed the extraneous resetKeyboardState.
Manage state to eliminate rerenders by judicious use of useMemo.
Centralized keyboard layout and localized display maps
Move keyboardOptions to useKeyboardLayouts
Added translations for display maps.
Add documentation on the legacy support.

Return the KeysDownState from keyboardReport
Clear out the hidErrorRollOver once sent to reset the keyboard to nothing down.
Handles the returned KeysDownState from keyboardReport
Now passes all logic through handleKeyPress.
If we get a state back from a keyboardReport, use it and also enable keypressReport because we now know it's an upgraded device.
Added exposition on isoCode management

Fix de-DE chars to reflect German E2 keyboard.
https://kbdlayout.info/kbdgre2/overview+virtualkeys

Ran go modernize
Morphs Interface{} to any
Ranges over SplitSeq and FieldSeq for iterating splits
Used min for end calculation remote_mount.Read
Used range 16 in wol.createMagicPacket
DID NOT apply the Omitempty cleanup.

Strong typed in the typescript realm.
Cleanup react state management to enable upgrading Zustand
2025-08-26 17:09:35 +02:00
Aveline
9c9335da31
chore: typo 'supression' should be 'suppression' (#671) 2025-07-03 17:28:00 +02:00
Aveline
73f5659618
fix(usbgadget): add lock for logWithSupression (#653) 2025-07-01 12:54:38 +02:00
Aveline
3e7d8fb0f5
feat(usbgadget): suppress duplicate error logs (#630).
Some checks failed
golangci-lint / lint (push) Successful in 31s
build image / Build (push) Has been cancelled
ui-lint / UI Lint (push) Has been cancelled
2025-06-20 18:52:37 +02:00
Aveline
7a9fb7cbb1
chore(usbgadget): update usbgadget config only when needed (#474)
Some checks failed
build image / Build (push) Waiting to run
golangci-lint / lint (push) Failing after 2m22s
2025-05-19 21:48:43 +02:00
rmschooley
0a4a1af80e
Improve/Simplify Mouse Wheel Scroll Behavior (#470)
Some checks are pending
build image / Build (push) Waiting to run
ui-lint / UI Lint (push) Waiting to run
golangci-lint / lint (push) Successful in 32s
* Improve/Simplify Mouse Wheel Scroll Behavior

* Update hid_mouse_absolute.go

Attempt to fix line reported as improperly formatted by lint.

* Update utils.go

Removed abs() function since lint states it is no longer used.
2025-05-19 13:03:33 +02:00
Siyuan Miao
4c37f7e079 refactor: use structured logging 2025-04-11 00:43:46 +02:00
Siyuan Miao
d1948adca8 refactor(usb): move usbconfig to a seperated package 2025-03-10 14:02:52 +01:00