Skip to content

Windows not reporting Joystick axis correctly but OK in Game Control Panel (w/ solution) #27

Description

@MaxPowerSW

Building a fightstick with a Daemonbite. Works correctly with MiSTer but not with Windows. Analog axis shows correctly in the game controllers control panel, calibrated. DuckStation input overlay shows constantly pressing right + down. Multiple online gamepad testers show Axis0 and 1 to have a range of 0, 157, and 315. These websites use the "Windows gamepad API".

315 is weirdly specific. Found it being used for the PHYSICAL_MAXIMUM attribute of the HID descriptor.

Commented out the PHYSICAL_MINIMUM and PHYSICAL_MAXIMUM attributes from the descriptor, now the online testers are showing axis values of -1, 0, and 1.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions