kvm/internal/usbgadget
Aveline bcc307b147
feat: hid rpc channel (#755)
* feat: use hidRpcChannel to save bandwidth

* chore: simplify handshake of hid rpc

* add logs

* chore: add timeout when writing to hid endpoints

* fix issues

* chore: show hid rpc version

* refactor hidrpc marshal / unmarshal

* add queues for keyboard / mouse event

* chore: change logging level of JSONRPC send event to trace

* minor changes related to logging

* fix: nil check

* chore: add comments and remove unused code

* add useMouse

* chore: log msg data only when debug or trace mode

* chore: make tslint happy

* chore: unlock keyboardStateLock before calling onKeysDownChange

* chore: remove keyPressReportApiAvailable

* chore: change version handle

* chore: clean up unused functions

* remove comments
2025-09-04 22:27:56 +02:00
..
changeset.go fix: configFS might not be mounted if the directory exists (#479) 2025-05-19 23:59:02 +02:00
changeset_arm_test.go chore(usbgadget): update usbgadget config only when needed (#474) 2025-05-19 21:48:43 +02:00
changeset_resolver.go fix(usbgadget): do not panic if a change isn't found (#481) 2025-05-20 00:34:32 +02:00
changeset_symlink.go fix: unit test not returning error when test fails 2025-05-19 22:51:11 +02:00
config.go chore: fix the base usb configuration (#610) 2025-07-09 23:57:51 +02:00
config_tx.go fix(usbgadget): do not panic if a change isn't found (#481) 2025-05-20 00:34:32 +02:00
consts.go feat: hid rpc channel (#755) 2025-09-04 22:27:56 +02:00
hid.go refactor(usb): move usbconfig to a seperated package 2025-03-10 14:02:52 +01:00
hid_keyboard.go feat: hid rpc channel (#755) 2025-09-04 22:27:56 +02:00
hid_mouse_absolute.go feat: hid rpc channel (#755) 2025-09-04 22:27:56 +02:00
hid_mouse_relative.go feat: hid rpc channel (#755) 2025-09-04 22:27:56 +02:00
log.go chore(usbgadget): update usbgadget config only when needed (#474) 2025-05-19 21:48:43 +02:00
mass_storage.go feat(usb_mass_storage): mount as disk (#333) 2025-05-12 19:07:27 +02:00
udc.go chore(usbgadget): update usbgadget config only when needed (#474) 2025-05-19 21:48:43 +02:00
usbgadget.go Add ability to track modifier state on the device (#725) 2025-08-26 17:09:35 +02:00
utils.go feat: hid rpc channel (#755) 2025-09-04 22:27:56 +02:00