diff options
author | Unrud <[email protected]> | 2024-08-05 19:23:15 +0200 |
---|---|---|
committer | Ron Evans <[email protected]> | 2024-08-14 18:43:27 +0200 |
commit | 815784bd9692afe9ac5d58a37a282757de734d9a (patch) | |
tree | a8c1e72db74de2da670c0f39ff14577d1c25b15a /src/machine/usb | |
parent | 7fc64a27b4a0b5819746d5f58746ae83181670e4 (diff) | |
download | tinygo-815784bd9692afe9ac5d58a37a282757de734d9a.tar.gz tinygo-815784bd9692afe9ac5d58a37a282757de734d9a.zip |
machine/usb/descriptor: Reset joystick physical
Diffstat (limited to 'src/machine/usb')
-rw-r--r-- | src/machine/usb/descriptor/joystick.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/machine/usb/descriptor/joystick.go b/src/machine/usb/descriptor/joystick.go index 0fe67a817..65756e0d6 100644 --- a/src/machine/usb/descriptor/joystick.go +++ b/src/machine/usb/descriptor/joystick.go @@ -101,6 +101,9 @@ var JoystickDefaultHIDReport = Append([][]byte{ HIDUsageDesktopPointer, HIDLogicalMinimum(-32767), HIDLogicalMaximum(32767), + HIDPhysicalMinimum(0), + HIDPhysicalMaximum(0), + HIDUnit(0), HIDReportCount(6), HIDReportSize(16), HIDCollectionPhysical, |