Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SFML Joystick using Xbox360 controller and the Z axis  (Read 821 times)

0 Members and 1 Guest are viewing this topic.

EkopEkop

  • Newbie
  • *
  • Posts: 0
    • View Profile
SFML Joystick using Xbox360 controller and the Z axis
« on: November 13, 2019, 03:13:35 am »
Hello,

I am using an xbox controller. When a button is pressed or an axis is moved (not including analogue sticks movements which I ignore), I don't want further button presses and axis movements to have an effect until the original input is released. This is working so far.

My problem is that the back triggers share the same Z axis when using Joystick. When both the back trigger buttons are held down, left and right, they cancel each other and the position of the Z axis is the default one. So, it's as if no axis are being changed. If the player were to hold down the two trigger buttons, they are able to press other buttons/change an axis AND be detected, which I don't want.

Any help on this topic?
Thanks  :)