Skip to content

Commit 815784b

Browse files
Unruddeadprogram
authored andcommitted
machine/usb/descriptor: Reset joystick physical
1 parent 7fc64a2 commit 815784b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/machine/usb/descriptor/joystick.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ var JoystickDefaultHIDReport = Append([][]byte{
101101
HIDUsageDesktopPointer,
102102
HIDLogicalMinimum(-32767),
103103
HIDLogicalMaximum(32767),
104+
HIDPhysicalMinimum(0),
105+
HIDPhysicalMaximum(0),
106+
HIDUnit(0),
104107
HIDReportCount(6),
105108
HIDReportSize(16),
106109
HIDCollectionPhysical,

0 commit comments

Comments
 (0)