Commit Graph

17 Commits

Author SHA1 Message Date
rmschooley
3359f8fca4
Remove Out Endpoint Descriptors from Absolute Mouse and Relative Mouse (#542)
* Update hid_mouse_absolute.go

Added attribute to remove unnecessary out endpoint.

* Update hid_mouse_relative.go

Added attribute to remove unnecessary out endpoint.

* Update hid_keyboard.go

Added attribute to explicitly keep currently needed out endpoint and to make listed attributes consistent across the keyboard and mouse devices.

---------

Co-authored-by: Aveline <352441+ym@users.noreply.github.com>
2025-07-11 17:43:37 +02:00
Marc Brooks
393bc122d4
chore: fix the base usb configuration (#610)
In reviewing the config.go settings for idProduct and bcdDevice are not formatted correctly. All examples on GitHub have 0x0104 and 0x0100 respectively. The idProduct value gets overwritten with valid values when you change the configuration (because they are correct in the options), but until you do the USB initialization will not be correct.
2025-07-09 23:57:51 +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
ronskvm
cf9c6e5cc8
chore(hid): change absolute mouse usb interface descriptor's subclass field to zero
Changed absolute mouse usb interface descriptor's subclass field to zero.
2025-06-19 09:11:21 +02:00
Aveline
0c5c69f2d3
feat: sync keyboard led status (#502) 2025-05-23 00:12:18 +02:00
Aveline
a0f6d01465
fix(usbgadget): do not panic if a change isn't found (#481)
* fix(usbgadget): do not panic if a change isn't found

* chore(usbgadget): rebind usb after updating config
2025-05-20 00:34:32 +02:00
Aveline
eeb103adf9
fix: configFS might not be mounted if the directory exists (#479) 2025-05-19 23:59:02 +02:00
Aveline
5ba08de566
fix: unit test not returning error when test fails
* fix: unit test not returning error when test fails

* chore: add unit test to smoketest.yml

* fix: make linter happy
2025-05-19 22:51:11 +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
Aveline
63c2272c45
feat(usb_mass_storage): mount as disk (#333)
Some checks failed
build image / Build (push) Waiting to run
golangci-lint / lint (push) Failing after 22s
ui-lint / UI Lint (push) Has been cancelled
* feat(usb_mass_storage): mount as disk

* chore: try to set initial virtual media state from sysfs

* chore(usb-mass-storage): fix inquiry_string
2025-05-12 19:07:27 +02:00
John
5f8b451cd7
fix: absolute mouse scroll (#434)
Co-authored-by: wup-one <wup@deepspace.game>
2025-05-11 17:19:07 +02:00
Siyuan Miao
4c37f7e079 refactor: use structured logging 2025-04-11 00:43:46 +02:00
Siyuan Miao
f3c49b853d fix(usb_mass_storage): should use path instead of configPath 2025-03-19 17:43:19 +01:00
Siyuan Miao
d1948adca8 refactor(usb): move usbconfig to a seperated package 2025-03-10 14:02:52 +01:00