SFML community forums
Help => Window => Topic started by: mr1jan on September 03, 2009, 10:14:12 pm
-
Hi, I want to make a game controlled by more than two gamepads. I found in SFML documentation that argument JoyId in bool IsJoystickButtonDown(..) can be set only to 0 or 1. Does this mean that SFML can only handle two gamepads? If yes, is there any other way to handle for example 4 independent gamepads? I will run it on Linux.
-
Yes, SFML can only handle up to two joysticks. This is mainly because some OSes don't provide easy access to more controllers.
But I guess this can be worked around, and I can look into this in the future.