Re: Wired Xbox controller not recognised as Game Controller?
Sam Lantinga <[email protected]>
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <CACC3sbEU0gvYMiuGqRHxN3bT0s9+2_VJ676TZp1SMr5FcyvWfQ@mail.gmail.com> |
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 <[email protected]> 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 > [email protected] > http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org > > _______________________________________________ SDL mailing list [email protected] http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org