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

Author Topic: Joystick buttons  (Read 3563 times)

0 Members and 1 Guest are viewing this topic.

workmad3

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
Joystick buttons
« on: April 21, 2008, 08:06:13 pm »
Quick question about joystick buttons in the Event structure.

Is the first button on the joystick 0, or 1? I'm writing a wrapper class for them in my event system and it's sort of important to know as I'm tracking references of the button states in collections :)

workmad3

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
Joystick buttons
« Reply #1 on: April 22, 2008, 12:20:57 am »
Found it now. It was fairly easy to find in the SFML source :)

 

anything