chengchingwen/Raylib.jl

Test out joysticks on Linux

Open

#28 建立於 2022年6月1日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)Julia (7 fork)github user discovery
help wanted

倉庫指標

Star
 (36 star)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南