Page 1 of 2

More than 4 Gamepads

Posted: Sat Apr 17, 2021 7:28 pm
by pericles
Hello! :3
Is there a way to allow the game to recognize more than 4 Gamepad?

Example: When I connect 5 or 6 gamepads only 4 are recognize :(

Code: Select all

function love.joystickadded( joystick )
     print(joystick:getName().." Connected",joystick:getID())
end
Image

I think its related to Xinput thing that not allow more that 4 gamepad
but is there a way to change it to DirectInput for example?

Re: More than 4 Gamepads

Posted: Sun Apr 18, 2021 7:27 am
by GVovkiv
Just curious
Why do you even need more than 1 or 2 gamepads connected?

Re: More than 4 Gamepads

Posted: Sun Apr 18, 2021 5:47 pm
by pericles
To play more than 4 players, each one with theirs own gamepad >.<

Like Shipped, a game that can be played by 8 players local

Re: More than 4 Gamepads

Posted: Sun Apr 18, 2021 6:23 pm
by GVovkiv
pericles wrote: Sun Apr 18, 2021 5:47 pm To play more than 4 players, each one with theirs own gamepad >.<

Like Shipped, a game that can be played by 8 players local
Yeah, but how much people actually nowdays plays in games with local multiplayer with more then 2 players?
in our 2k21 future everyone play in multyplayer games via internet or in very rare cases via lan
so i guess 4 gamepads limit shouldn't be a problem

Re: More than 4 Gamepads

Posted: Sun Apr 18, 2021 11:00 pm
by togFox
Maybe he/she has lots of siblings. :)

Re: More than 4 Gamepads

Posted: Mon Apr 19, 2021 6:23 am
by D0NM
pericles wrote: Sat Apr 17, 2021 7:28 pm Hello! :3
Is there a way to allow the game to recognize more than 4 Gamepad?
Wow!!! Nice find! I've connected only 4 gamepads at the same time.
I had an idea there is a limit on the number of the connected joysticks.

Re: More than 4 Gamepads

Posted: Wed Apr 21, 2021 3:01 pm
by pericles
GVovkiv wrote: Sun Apr 18, 2021 6:23 pm Yeah, but how much people actually nowdays plays in games with local multiplayer with more then 2 players?
in our 2k21 future everyone play in multyplayer games via internet or in very rare cases via lan
so i guess 4 gamepads limit shouldn't be a problem
Well, it's a problem for me otherwise wouldn't have posted

Groups of more than 4 friends aren't that weird, plus siblings as togFox said :rofl:

That kind of answer is not helpful at all.
Its like if someone ask:
- "How to use conf.lua or --console on Ubuntu?"
And people answer it with:
- "Most people use Windows nowadays, just use Windows and it shouldn't be a problem"

But thanks, I guess ^^

Re: More than 4 Gamepads

Posted: Wed Apr 21, 2021 3:43 pm
by GVovkiv
pericles wrote: Wed Apr 21, 2021 3:01 pm
GVovkiv wrote: Sun Apr 18, 2021 6:23 pm Yeah, but how much people actually nowdays plays in games with local multiplayer with more then 2 players?
in our 2k21 future everyone play in multyplayer games via internet or in very rare cases via lan
so i guess 4 gamepads limit shouldn't be a problem
Well, it's a problem for me otherwise wouldn't have posted

Groups of more than 4 friends aren't that weird, plus siblings as togFox said :rofl:

That kind of answer is not helpful at all.
Its like if someone ask:
- "How to use conf.lua or --console on Ubuntu?"
And people answer it with:
- "Most people use Windows nowadays, just use Windows and it shouldn't be a problem"

But thanks, I guess ^^
ok

Re: More than 4 Gamepads

Posted: Mon Apr 26, 2021 8:03 pm
by Ross
Sounds like a bug to me, though it could potentially be with your system/drivers/etc. Have you tried some of the other checks, like love.joystick.getJoystickCount, or love.joystick.getJoysticks? Have you tried different types of controllers?

You could also try reporting it on the Love2D github issues page: https://github.com/love2d/love/issues

Re: More than 4 Gamepads

Posted: Mon Apr 26, 2021 8:31 pm
by pgimeno
I'd bet that this is not a Löve issue, but an upstream issue, either SDL or the OS.