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