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

Author Topic: sf::Joystick and 360 controllers  (Read 2923 times)

0 Members and 1 Guest are viewing this topic.

Richy19

  • Full Member
  • ***
  • Posts: 190
    • View Profile
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?

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
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.
SFML / OS X developer

 

anything