Love Not Recognizing Gamepad

Show off your games, demos and other (playable) creations.
Post Reply
User avatar
Posts: 17
Joined: Sun Mar 13, 2016 7:21 am

Love Not Recognizing Gamepad

Post 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 :)
User avatar
Party member
Posts: 247
Joined: Mon Feb 08, 2016 10:35 am
Location: Zabuyaki

Re: Love Not Recognizing Gamepad

Post 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" )
Our LÖVE Gamedev blog Zabuyaki (an open source retro beat 'em up game). Twitter: @Zabuyaki.
:joker: LÖVE & Lua Video Lessons in Russian / Видео уроки по LÖVE и Lua :joker:
Party member
Posts: 189
Joined: Wed Jul 03, 2013 4:06 am

Re: Love Not Recognizing Gamepad

Post by pauljessup »

oh must be a linux issue, my f310 works fine for Love2d 11.0 on both Windows and OSX
Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests