Skip to content

Error enumerating joysticks - get_name #1

@mattno

Description

@mattno

It seams there is problem enumerating game devices. Get_name(_j) gives s fault - invalid utf-8 character. Could be something with the underlying pygame/SDL library. Or even bad firmware in the game comtroller itself. And guess it depends which controllers you have attached. I have six controllers. From what I coould see it failed for my Fanatac SQ 1.5 shifter connected via USB adapter. Some garbage charcters at the end of the name. Maybe surround with a try catch to avoid crashing?

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