今早5点多,我结束了今日的代码工作(鄙人目前正在开发某开源游戏引擎,并且同时开发某游戏),意外发现个人正在使用的SDL_GameControllerDB库(我使用了Jamepad,Jamepad使用了SDL,SDL使用了SDL_GameControllerDB。并且我使用了lwjgl,lwjgl中使用了glfw,glfw使用了SDL_GameControllerDB)中有如下的提示: 然后点开here。 行吧,...
SDL_GameControllerDB A community sourced database of game controller mappings to be used with SDL2 and SDL3 Game Controller functionality. Usage Download gamecontrollerdb.txt, place it in your app's directory and load it. SDL2: SDL_GameControllerAddMappingsFromFile("gamecontrollerdb.txt"); ...
Can you reduce gamecontrollerdb.txt to just the retrogame entries and remove all the mappings from SDL_gamecontrollerdb.h and run a debugger to find out why the wrong entry is being picked for your controller? RenaKunisaki commented Jun 25, 2024 Maybe the same bug: my file has a single...
A community sourced database of game controller mappings to be used with SDL2 Game Controller functionality - SDL_GameControllerDB/gamecontrollerdb.txt at master · mdqinc/SDL_GameControllerDB
SDL_GameControllerDB A community sourced database of game controller mappings to be used with SDL2 Game Controller functionality. Usage Download gamecontrollerdb.txt, place it in your app's directory and load it. For example : SDL_GameControllerAddMappingsFromFile("gamecontrollerdb.txt"); The...
Simple Directmedia Layer. Contribute to libsdl-org/SDL development by creating an account on GitHub.
A community sourced database of game controller mappings to be used with SDL Game Controller functionality - mdqinc/SDL_GameControllerDB