aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Russell <rcoh@mit.edu>2011-08-22 22:54:33 -0700
committerGravatar Russell <rcoh@mit.edu>2011-08-22 22:54:33 -0700
commitcf8c0b22a9572c379050c0cf475ea583e2bc33f7 (patch)
tree9deeb7245f92a84549f8771a6520b3d3ab1e22c0
parentdae7c73578819575aaac2790546509343d7c7074 (diff)
A couple typos and clarifications.
-rw-r--r--ddrinput.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ddrinput.py b/ddrinput.py
index 01dc333..71dbfd3 100644
--- a/ddrinput.py
+++ b/ddrinput.py
@@ -22,7 +22,7 @@ class DdrInput(object):
"""
def __init__(self, debug_mode=True):
"""
- Debug mode prints inputs and also enables the keyboard as in input
+ Debug mode prints inputs from the ddr pads and also enables the keyboard as an input
"""
pygame.init() #safe to call multiple times
self.init_joysticks()
@@ -42,7 +42,7 @@ class DdrInput(object):
def poll(self):
"""
Returns a tuple of player index (0 or 1) and move,
- LEFT, RIGHT, UP, DOWN
+ LEFT, RIGHT, UP, DOWN. Returns None if there is no new input. Only returns 1 input at a time.
"""
event = pygame.event.poll()
player_move = None