Sign in to follow this  

SDL Game Controller

Recommended Posts

Has anyone tested it specifically with the Xbox360 controller? I know that at least some limited functionality will show up, I was just curious how exactly it registers under SDL as (a) I'm wanting to begin using SDL for some dev work and (b) I'm wanting to use the Xbox360 gamepad as my test gamepad.

The reason I ask is that I know that at least at first the Xbox360 gamepad, unless specifically programmed for (using Xinput.dll), had some mapping issues under DirectInput (which is what I assume SDL is using to access gamepads on Win32). I believe the issue was that the shoulder buttons showed up as a "z-axis" instead of as analog buttons, thus pressing both at the same time resulted in a "0.0" just like if neither were pressed, i.e. "L=-1.0" + "R=+1.0" = "L+R=0.0".

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this