SDL_GameControllerDB on Ubuntu

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
olegharput
Prole
Posts: 5
Joined: Sun Apr 11, 2021 8:29 pm

SDL_GameControllerDB on Ubuntu

Post 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.
User avatar
Xii
Party member
Posts: 137
Joined: Thu Aug 13, 2020 9:09 pm
Contact:

Re: SDL_GameControllerDB on Ubuntu

Post by Xii »

I'm not going to watch a video to see the code. Post it.
olegharput
Prole
Posts: 5
Joined: Sun Apr 11, 2021 8:29 pm

Re: SDL_GameControllerDB on Ubuntu

Post 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.
Attachments
SDL_GameControllerDB on Ubuntu.zip
(1.02 MiB) Downloaded 147 times
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 15 guests