Skip to content

Commit

Permalink
machine/usb/descriptor: Reset joystick physical
Browse files Browse the repository at this point in the history
  • Loading branch information
Unrud authored and deadprogram committed Aug 14, 2024
1 parent 7fc64a2 commit 815784b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/machine/usb/descriptor/joystick.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ var JoystickDefaultHIDReport = Append([][]byte{
HIDUsageDesktopPointer,
HIDLogicalMinimum(-32767),
HIDLogicalMaximum(32767),
HIDPhysicalMinimum(0),
HIDPhysicalMaximum(0),
HIDUnit(0),
HIDReportCount(6),
HIDReportSize(16),
HIDCollectionPhysical,
Expand Down

0 comments on commit 815784b

Please sign in to comment.