SFML community forums

Help => Window => Topic started by: workmad3 on April 21, 2008, 08:06:13 pm

Title: Joystick buttons
Post by: workmad3 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 :)
Title: Joystick buttons
Post by: workmad3 on April 22, 2008, 12:20:57 am
Found it now. It was fairly easy to find in the SFML source :)