mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-06 20:13:40 +00:00
machine/usb/descriptor: Drop second joystick hat
This commit is contained in:
@@ -95,14 +95,9 @@ var JoystickDefaultHIDReport = Append([][]byte{
|
||||
HIDReportSize(4),
|
||||
HIDInputDataVarAbs,
|
||||
HIDUsageDesktopHatSwitch,
|
||||
HIDLogicalMinimum(0),
|
||||
HIDLogicalMaximum(7),
|
||||
HIDPhysicalMinimum(0),
|
||||
HIDPhysicalMaximum(315),
|
||||
HIDUnit(0x14),
|
||||
HIDReportCount(1),
|
||||
HIDReportSize(4),
|
||||
HIDInputDataVarAbs,
|
||||
HIDInputConstVarAbs,
|
||||
HIDUsageDesktopPointer,
|
||||
HIDLogicalMinimum(-32767),
|
||||
HIDLogicalMaximum(32767),
|
||||
|
||||
Reference in New Issue
Block a user