From 815784bd9692afe9ac5d58a37a282757de734d9a Mon Sep 17 00:00:00 2001 From: Unrud Date: Mon, 5 Aug 2024 19:23:15 +0200 Subject: [PATCH] machine/usb/descriptor: Reset joystick physical --- src/machine/usb/descriptor/joystick.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/machine/usb/descriptor/joystick.go b/src/machine/usb/descriptor/joystick.go index 0fe67a817..65756e0d6 100644 --- a/src/machine/usb/descriptor/joystick.go +++ b/src/machine/usb/descriptor/joystick.go @@ -101,6 +101,9 @@ var JoystickDefaultHIDReport = Append([][]byte{ HIDUsageDesktopPointer, HIDLogicalMinimum(-32767), HIDLogicalMaximum(32767), + HIDPhysicalMinimum(0), + HIDPhysicalMaximum(0), + HIDUnit(0), HIDReportCount(6), HIDReportSize(16), HIDCollectionPhysical,