SFML community forums

Help => Window => Topic started by: Richy19 on August 07, 2011, 03:09:19 am

Title: sf::Joystick and 360 controllers
Post by: Richy19 on August 07, 2011, 03:09:19 am
Hi I just wondered if sfml can work with 360 controllers as that way I could use it without the need for xInput (and more importantly cross platform)

If so does anyone know of any example code?

And if not are there any lightwaigh and cross platfor libraries that allow you to use 360 controller?
Title: sf::Joystick and 360 controllers
Post by: Hiura on August 08, 2011, 09:22:04 pm
Theoretically any device should be supported by SFML so 360 should work but to be sure you have to test it. Read the doc about sf::Joystick to understand how it work. And, of course, if a specific point is fuzzy then ask.