Skip to content

Commit 7fc64a2

Browse files
Unruddeadprogram
authored andcommitted
machine/usb/descriptor: Drop second joystick hat
1 parent c38bf27 commit 7fc64a2

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/machine/usb/descriptor/joystick.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,9 @@ var JoystickDefaultHIDReport = Append([][]byte{
9595
HIDReportSize(4),
9696
HIDInputDataVarAbs,
9797
HIDUsageDesktopHatSwitch,
98-
HIDLogicalMinimum(0),
99-
HIDLogicalMaximum(7),
100-
HIDPhysicalMinimum(0),
101-
HIDPhysicalMaximum(315),
102-
HIDUnit(0x14),
10398
HIDReportCount(1),
10499
HIDReportSize(4),
105-
HIDInputDataVarAbs,
100+
HIDInputConstVarAbs,
106101
HIDUsageDesktopPointer,
107102
HIDLogicalMinimum(-32767),
108103
HIDLogicalMaximum(32767),

0 commit comments

Comments
 (0)