pygame is
Simple DirectMedia Layer is
Site Swing

InputParser - 0.7.0

Wil Alvarez (satanas666)



Input class allows you to control standard input events keyboard, mouse or joystick) on a PyGame application, binding user-defined actions for each one of them. You just need to create an input object, bind actions with input events and lookup for this action on every loop of the application. It comes with a very cool documentation made by me :D


+ Added support for documentation in pydoc format + Added support UP and DOWN events for keys and joystick buttons + Improved support for mouse move and quit events + Changed format to complaint with python standard (indentation, underscore separation for method name, etc) + Implemented mouse down/up events + Added support for QUIT event


Home Page:


InputParser - 0.7.0 - Nov 20, 2008
InputParser - 0.6.5 - Feb 26, 2008
InputParser - 0.6.2 - Feb 26, 2008
InputParser - 0.6.1 - Feb 11, 2008 account Comments

If you wish to leave a comment with your account, please sign in first.

February 26, 2008 12:28pm - Wil Alvarez - nickname: (satanas666)
Done! Here are the changes:
-Fixed joystick support
-Added setSensitivity
-Added lookupAny for check any key (or joystick button) pressed
February 26, 2008 10:15am - Wil Alvarez - nickname: (satanas666)
Doing some tests i've realized that still remain a bug with analog sticks of joystick. I'll try to fix it
February 26, 2008 8:19am - Wil Alvarez - nickname: (satanas666)
Well fixed joystick support. For GNU/Linux users install "joystick" package (it comes with jscal and jstest) to calibrate joystick.

To calibrate run: jscal -c /dev/input/js0
To test run: jstest /dev/input/js0

That's all. It should work pretty well. Cheers
February 11, 2008 10:35am - pymike - nickname: (pymike) - 5/5
Way cool! I think I might use this for a game I'm making. Really useful script. Good job!
February 11, 2008 8:07am - Wil Alvarez - nickname: (satanas666)
Well, first public release. Feedback is welcome!

our projects welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
recent releases
Jan 31, 2017

Jan 24, 2017

Jan 19, 2017

Jan 18, 2017

Jan 7, 2017

Dec 30, 2016

Dec 8, 2016

Nov 28, 2016

Nov 27, 2016

... more!
for pygame related questions, comments, and suggestions, please see help (lists, irc)