Page 1 of 1

Love Not Recognizing Gamepad

Posted: Thu Apr 16, 2020 5:39 pm
by emanevitaerc
Hey everyone. I just got a Logitech F130 gamepad (compatible with Xbox controller drivers), but running the following in Love:

Code: Select all

local joysticks = love.joystick.getJoysticks()
returns nil.

I'm running Love 11.1 on Linux Mint. The gamepad works fine with other games, Love programs just won't recognize it. Any ideas for how to troubleshoot this? Thanks.

Edit: Ahh crap I meant to put this in Support and Development, sorry!

Edit 2: After uploading to Love 11.3 this problem has been solved :)

Re: Love Not Recognizing Gamepad

Posted: Sat May 23, 2020 5:58 pm
by D0NM
hi! To have more supported gamepads you might like to use this DB.
# Game Controller DB for SDL in 2.0.10 format
# Source:

To load the DB use this function:

Code: Select all

love.joystick.loadGamepadMappings( "somePAth/gamecontrollerdb.txt" )

Re: Love Not Recognizing Gamepad

Posted: Thu May 28, 2020 2:41 am
by pauljessup
oh must be a linux issue, my f310 works fine for Love2d 11.0 on both Windows and OSX