SFML community forums
Help => Window => Topic started by: heishe on August 30, 2013, 08:42:01 pm
-
Does anyone happen to have a list of which buttons and sticks on the 360 controller correspond to which buttons/axes in SFML?
-
Why don't you just test it?
-
Why don't you just test it?
I don't want to reinvent the wheel.
-
Reinvent what? ???
Plug your controller, press each button/move each axis and see how they map to the SFML identifiers. It's a 2 minutes task.
-
...and post the results here, to prevent future users from reinventing the wheel :D
By the way, a search engine/forum search yields some related results:
http://en.sfml-dev.org/forums/index.php?topic=12155
http://en.sfml-dev.org/forums/index.php?topic=11933
You could search more and try to contact some of the involved people to ask them for a mapping. But Laurent might be right here, testing it is probably faster...
-
well, for testing I have to write and app and press buttons, but since I'm the first I'll do it later and post the results here :P
-
I have to write and app
Isn't it what you're going to do next anyway? :P
-
Yeah, but it has received a lower priority now. Was megalazy and just implemented keyboard + mouse control. Will come back too it soon(ish).
-
well, for testing I have to write and app
No you don't. I wrote one :)
I started a thread about it here (http://en.sfml-dev.org/forums/index.php?topic=13001.0) as I figured it'd probably be useful to other folks.
Maybe we should start another thread that is a listing of button mappings for OS-controller combos (the 360 buttons are not all the same on Mac and Windows for example).