Skip to content

Error reading XBox One Controller analogue values #38

@RogerHardiman

Description

@RogerHardiman

Hi
When Parsing the InputReport from an XBox Controller (hardwired on USB) I get NaN for the analogue joystick values.
I can see the values are present int he raw data but Parsing the InputReport returns NaN

It looks like the valid range (physical and logical) for the XBox controller is Min=0 Max=0

So I'm guessing a bug where this library computes the ranges.

Has anyone else come across this issue?

Happy to dig into the code, and do a PR if needed.

Roger

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions