Sign in to follow this  

Linux Xbox Controller

This topic is 1652 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I would like to use a xbox 360 controller for my game in linux just like in windows. I can find some information about a driver but from what I hear it doesnt need it after kernel 2.6. My problem though is I dont know where to start I cant find any examples or apis to use to access the controllers. Can anyone help point me in the right direction? Thanks

Share this post


Link to post
Share on other sites

Ok so I guess it the same as a joystick apparently. Ill have to look into how to read the joystick. Thanks

Share this post


Link to post
Share on other sites

The only thing I am missing from that is the device packet number as it will only change that value when actual input on the pad has changed. This is an easy way of checking whether there is any input coming from an XInput device. Unless SDL or PyGame already deal with this.

Share this post


Link to post
Share on other sites
Sign in to follow this