Skip to content

[rcore] gamepad inputs not working with linux glfw #5027

Open
@jonathandw743

Description

@jonathandw743
  • I tested it on latest raylib version from master branch
  • I checked there is no similar issue already reported
  • I checked the documentation on the wiki
  • My code has no errors or misuse of raylib

There is a similar issue #3651

Issue description

gamepad inputs do not work on linux desktop glfw
I am using a Xbox Series X controller, wired.
The name and axis count are detected but the inputs are not.
The Xbox Series controller also seems to be here:
https://github.com/raysan5/raylib/blob/master/src/external/glfw/src/mappings.h

Environment

Fedora Linux 42 (Workstation Edition)
OpenGL version string: 4.6 (Compatibility Profile) Mesa 25.0.7

Code Example

https://github.com/jonathandw743/rlctt
gcc main.c -Iinclude -Llibmastersdl -lraylib -lm -lSDL2
gcc main.c -Iinclude -Llibmasterglfw -lraylib -lm
gcc main.c -Iinclude -Llib550release -lraylib -lm

The SDL version works but the other 2 do not.

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