The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
[HOWTO?] adding a new gamecontroller
Martin Gerhardy
Guest

Hi,

I have some game controllers lying around here at home that i would like
to add to SDL2 - is there some documentation around for this?

Regards
Martin
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
[HOWTO?] adding a new gamecontroller
Sam Lantinga


Joined: 10 Sep 2009
Posts: 1765
Are you talking about the game controller API?

The easiest way to do this is to run Steam and configure the controller in Big Picture and then poke around the config files to find the configuration string and add it to SDL.


FYI, if you do configure your controller with Big Picture, then any Steam games that use SDL 2.0 will automatically get the correct configuration without any further work. :)



On Sun, May 12, 2013 at 8:23 AM, Martin Gerhardy wrote:
Quote:
Hi,

I have some game controllers lying around here at home that i would like to add to SDL2 - is there some documentation around for this?

Regards
Martin
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
[HOWTO?] adding a new gamecontroller
Sam Lantinga


Joined: 10 Sep 2009
Posts: 1765
Are you talking about the game controller API?

The easiest way to do this is to run Steam and configure the controller in Big Picture and then poke around the config files to find the configuration string and add it to SDL.


FYI, if you do configure your controller with Big Picture, then any Steam games that use SDL 2.0 will automatically get the correct configuration without any further work. :)



On Sun, May 12, 2013 at 8:23 AM, Martin Gerhardy wrote:
Quote:
Hi,

I have some game controllers lying around here at home that i would like to add to SDL2 - is there some documentation around for this?

Regards
Martin
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org