Page 1 of 1

SDL_GameControllerDB on Ubuntu

Posted: Sun Apr 11, 2021 8:32 pm
by olegharput
I am using ubuntu i wrote the same code as in
https://www.youtube.com/watch?v=EQL6HZm ... B&index=13

but it does not work(my output is "nil" not "true" using xbox360 controller). As i remember one or two years ago the same code worked on Windows with the same machine and probably with the same controller. Is it normal? What must i do?
Please help.

Re: SDL_GameControllerDB on Ubuntu

Posted: Sun Apr 11, 2021 8:59 pm
by Xii
I'm not going to watch a video to see the code. Post it.

Re: SDL_GameControllerDB on Ubuntu

Posted: Mon Apr 12, 2021 8:10 pm
by olegharput
Xii wrote: Sun Apr 11, 2021 8:59 pm I'm not going to watch a video to see the code. Post it.
I am sending you the all the code until that video but the main file is GamepadMgr.lua.
And the file gamecontrollerdb.txt which is downloaded from
https://github.com/gabomdq/SDL_GameControllerDB is in the assets folder.