We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c38bf27 commit 7fc64a2Copy full SHA for 7fc64a2
src/machine/usb/descriptor/joystick.go
@@ -95,14 +95,9 @@ var JoystickDefaultHIDReport = Append([][]byte{
95
HIDReportSize(4),
96
HIDInputDataVarAbs,
97
HIDUsageDesktopHatSwitch,
98
- HIDLogicalMinimum(0),
99
- HIDLogicalMaximum(7),
100
- HIDPhysicalMinimum(0),
101
- HIDPhysicalMaximum(315),
102
- HIDUnit(0x14),
103
HIDReportCount(1),
104
105
- HIDInputDataVarAbs,
+ HIDInputConstVarAbs,
106
HIDUsageDesktopPointer,
107
HIDLogicalMinimum(-32767),
108
HIDLogicalMaximum(32767),
0 commit comments