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

Author Topic: Xbox 360 controller left and right triggers  (Read 4429 times)

0 Members and 1 Guest are viewing this topic.

natinusala

  • Newbie
  • *
  • Posts: 25
    • View Profile
Xbox 360 controller left and right triggers
« on: April 09, 2015, 09:14:28 am »
Hello,

I'm trying to use a wired Xbox 360 controller with SFML (on Linux) ; everything works perfectly (the 11 buttons + the dpad + the two joysticks) except that the left and right triggers are not recognized as buttons, so... I don't know how to use them.

Am I doing it wrong, is there a special way to use them or should I use another thing such as XInput or xboxdrv ?

Thanks !

dabbertorres

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
    • website/blog
Re: Xbox 360 controller left and right triggers
« Reply #1 on: April 09, 2015, 09:22:34 am »
iirc, they are Axes.

natinusala

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: Xbox 360 controller left and right triggers
« Reply #2 on: April 09, 2015, 10:22:25 am »
Which ones ? The POV is the DPAD, the XYZ is the left joystick and the RUV is the right joystick, isn't it ?

Oh I see now, it's POV, XY, ZR and UV... thanks ^^
« Last Edit: April 09, 2015, 10:24:03 am by natinusala »

 

anything