SFML community forums
Help => General => Topic started by: kurtis on January 07, 2018, 03:21:21 am
-
I’m having problems getting inputs from my Xbox one controller. I have it connected to my Mac through Bluetooth and it works fine for steam games but SFML can’t seem to register the left or right trigger or the dpad. I was wondering if anyone has experienced the same problems or has a solution.
Thanks,
Kurtis
-
What SFML version are you using?
-
I'm using version 2.4.2. I did get it to work using the SDL2 joystick module but still can't get the SFML joystick stuff to work.
-
Did you try https://github.com/SFML/SFML/pull/1248? It was merged in master after 2.4.2 was released.
-
I'm having the same issues using SFML 2.6. No input from the triggers or dpad is being picked up by SFML, works fine when testing controller using different programs. Is this a known issue?
I should also mention that the Z axis, which is the axis I would have expected the trigger to be registered as, is actually assigned to the right analog stick X axis (so does the horizontal input for the analog stick which uses R for vertical input).