pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
InputParser

InputParser - 0.6.2

Wil Alvarez (satanas666)

Tags:

Description

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

Changes

Fixed joystick support

Links

Home Page: http://inputparser.googlecode.com/
Source: http://inputparser.googlecode.com/

Releases

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

Pygame.org account Comments

If you wish to leave a comment with your pygame.org 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!
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Sep 19, 2014

Sep 17, 2014

Sep 9, 2014

Sep 8, 2014

Sep 7, 2014


Sep 5, 2014

Aug 26, 2014

Aug 21, 2014


Aug 18, 2014

Aug 2, 2014

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