Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Window
»
sf::Joystick and 360 controllers
Print
Pages: [
1
]
Author
Topic: sf::Joystick and 360 controllers (Read 2923 times)
0 Members and 1 Guest are viewing this topic.
Richy19
Full Member
Posts: 190
sf::Joystick and 360 controllers
«
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?
Logged
Hiura
SFML Team
Hero Member
Posts: 4321
sf::Joystick and 360 controllers
«
Reply #1 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.
Logged
SFML / OS X developer
Print
Pages: [
1
]
SFML community forums
»
Help
»
Window
»
sf::Joystick and 360 controllers
anything