Wired Xbox controller not recognised as Game Controller?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
SRG
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Wired Xbox controller not recognised as Game Controller?

SRG
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
[hidden email]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Wired Xbox controller not recognised as Game Controller?

Sam Lantinga-4
If you grab the latest SDL snapshot, build and install it and then run testgamecontroller from the test directory, what does it print out?

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 <[hidden email]> 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
[hidden email]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



_______________________________________________
SDL mailing list
[hidden email]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SRG
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Wired Xbox controller not recognised as Game Controller?

SRG
In reply to this post by SRG
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
[hidden email]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Wired Xbox controller not recognised as Game Controller?

Sam Lantinga-4

On Sun, Dec 4, 2016 at 9:52 AM, SRG <[hidden email]> 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
[hidden email]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



_______________________________________________
SDL mailing list
[hidden email]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Wired Xbox controller not recognised as Game Controller?

Sam Lantinga-4
In reply to this post by SRG
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 <[hidden email]> 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
[hidden email]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



_______________________________________________
SDL mailing list
[hidden email]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Loading...