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.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?
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
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
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:
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