Skip to content

Spurious values in joystick reads #1

Closed
@caternuson

Description

@caternuson

NOTE This issue by @ATMakersBill transferred from original repo.

Every once in a while joystick x and y readings jump to 255. It seems like it's every 5-10 seconds.

I added a check to simply ignore any reading where either is exactly 255. We should either find a way to detect these (perhaps there's a pattern) or just filter them at the library level. That would require caching the values and keeping old ones if the read was invalid (or just re-reading).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions