Wired Xbox controller not recognised as Game Controller?

Hi,

I am new to SDL and am using it for controls in a game.
On Mac, SDL does not recognise my wired xbox controller as a game controller but does recognise it as a joystick.
On PC is does recognise it as game controller.
Is this correct behaviour on a mac?

If you grab the latest SDL snapshot, build and install it and then run
testgamecontroller from the test directory, what does it print out?
http://www.libsdl.org/tmp/SDL-2.0.zip

Here’s the output on my 10.11 system with the tattiebogle XBox controller
driver:

2016-11-26 14:38:03.598 testgamecontroller[25577:929997] INFO: Controller
0: X360 Controller (guid 030000005e0400008e02000000000000, VID 0x045e, PID
0x028e)

2016-11-26 14:38:03.599 testgamecontroller[25577:929997] INFO: There are 1
game controller(s) attached (1 joystick(s))On Fri, Nov 11, 2016 at 6:01 AM, SRG wrote:

Hi,

I am new to SDL and am using it for controls in a game.
On Mac, SDL does not recognise my wired xbox controller as a game
controller but does recognise it as a joystick.
On PC is does recognise it as game controller.
Is this correct behaviour on a mac?


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

I am using this driver ( https://github.com/360Controller/360Controller/releases ) to get my Xbox One controller to work.

I get this output…

2016-12-04 16:45:39.471747 testgamecontroller[572:8968] INFO: Joystick 0: Xbox One Wired Controller (guid 0d0f0000000000006700000000000000)
2016-12-04 16:45:39.471811 testgamecontroller[572:8968] INFO: There are 0 game controller(s) attached (1 joystick(s))

I think it just does not recognise Xbox One controller but recognises Xbox 360 controller

Any other suggestions?

Fixed!

https://hg.libsdl.org/SDL/rev/bfddf6a4bcadOn Sun, Dec 4, 2016 at 9:52 AM, SRG wrote:

I am using this driver ( https://github.com/360Controller/360Controller/
releases ) to get my Xbox One controller to work.

I get this output…

2016-12-04 16:45:39.471747 testgamecontroller[572:8968] INFO: Joystick 0:
Xbox One Wired Controller (guid 0d0f0000000000006700000000000000)
2016-12-04 16:45:39.471811 testgamecontroller[572:8968] INFO: There are 0
game controller(s) attached (1 joystick(s))

I think it just does not recognise Xbox One controller but recognises Xbox
360 controller

Any other suggestions?


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Actually, what XBox One controller do you have? You might have to run
controllermap yourself, as that doesn’t look like a Microsoft controller.On Sun, Dec 4, 2016 at 9:52 AM, SRG wrote:

I am using this driver ( https://github.com/360Controller/360Controller/
releases ) to get my Xbox One controller to work.

I get this output…

2016-12-04 16:45:39.471747 testgamecontroller[572:8968] INFO: Joystick 0:
Xbox One Wired Controller (guid 0d0f0000000000006700000000000000)
2016-12-04 16:45:39.471811 testgamecontroller[572:8968] INFO: There are 0
game controller(s) attached (1 joystick(s))

I think it just does not recognise Xbox One controller but recognises Xbox
360 controller

Any other suggestions?


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Its a HORI HORIPAD. Like this one https://www.amazon.com/HORI-HORIPAD-Xbox-Officially-Licensed-Controller/dp/B00O7. It says its official licensed.

Thanks for the fix. How do i get it? Copy and paste into my version of SDL_gamecontrollerdb.h?