Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am a new developer and want to write a game that uses a gamepad like the dualshock 3 I want to write it in python although am willing to learn a little C/C++

I need to identify the buttons and rotaters and send feedback like haptics not to mention the motion control

share|improve this question

Well, SDL has support for controllers (joysticks) and pygame is a python wrapper for SDL so in theory it should support joysticks. There does seem to be support ( for joysticks but I cannot say how well a dualshock 3 controller maps to it. (Theres some issues around mapping the Xbox 360 controller for example)

share|improve this answer

You can:


Control GStreamer filters in a pipeline using analog sticks of gamepads Copyright (c) 2010-12-22 Thomas Perl

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.