Ayke van Laethem
1270a50104
machine: use new internal/binary package
...
The encoding/binary package in Go 1.23 imports the slices package, which
results in circular import when imported from the machine package.
Therefore, encoding/binary cannot be used in the machine package.
This commit fixes that by introducing a new internal/binary package that
is just plain Go code without dependencies. It can be safely used
anywhere (including the runtime if needed).
2024-06-24 21:21:52 +02:00
Unrud
0ef86e1534
Add support for HID Keyboard LEDs
2023-08-07 14:00:32 +02:00
deadprogram
1d5c5ca2ef
machine/usb/descriptor: further refactor HID report creation
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2023-05-05 07:44:03 +02:00
deadprogram
90935703e6
machine/usb/descriptor: rename and export Append() to make it easier to create new descriptors in user code
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2023-05-05 07:44:03 +02:00
deadprogram
d8ee520bdc
machine/usb/descriptor: refactor HID report creation
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2023-05-05 07:44:03 +02:00
sago35
d28b58e4dd
machine/usb/hid/mouse: add support for mouse back and forward
2023-04-28 17:41:00 +02:00
deadprogram
25b03414dc
machine/usb/hid/joystick: handle case where we cannot find the correct HID descriptor
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2023-04-28 15:15:54 +02:00
deadprogram
2ab7ee6a8a
machine/usb: refactoring descriptors into subpackage for modularity
...
Signed-off-by: deadprogram <ron@hybridgroup.com >
2023-04-28 15:15:54 +02:00