chengchingwen/Raylib.jl

Test out joysticks on Linux

Open

#28 aperta il 1 giu 2022

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)Julia (7 fork)github user discovery
help wanted

Metriche repository

Star
 (36 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor