chengchingwen/Raylib.jl

Test out joysticks on Linux

Open

#28 geöffnet am 1. Juni 2022

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Julia (7 Forks)github user discovery
help wanted

Repository-Metriken

Stars
 (36 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

We now have a simple example of using Joysticks with Raylib added in #27. It works fine on Windows. However, when I test it on Linux, it doesn't work.

The program can detect the joystick correctly, but failed to detect any button press. It is an issue of missing gamepad mapping and can be solved by calling Raylib.SetGamepadMappings manually with the mapping found on the db. So the problem would be either I'm using an rare joystick or we didn't build the raylib_jll correctly so the mapping is missing on Linux.

We would need someone to test out joysticks on Linux to make sure it's not a problem of the jll.

Contributor Guide