diff options
author | Brian Jordan <brian@laptop.org> | 2008-07-20 20:24:38 (GMT) |
---|---|---|
committer | Brian Jordan <brian@laptop.org> | 2008-07-20 20:24:38 (GMT) |
commit | 313b03a86347294b6744c127a92a9eedad4d3ba0 (patch) | |
tree | f93c05d2af7c3edc5a23c18e4c0c6b6ea0e34202 /physics.py | |
parent | dd6761a5e4c29667725cb5298b3db32ac25280c2 (diff) |
Joystick button (is awesome... in progress)
Diffstat (limited to 'physics.py')
-rw-r--r-- | physics.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -32,7 +32,8 @@ class PhysicsGame: self.clock = pygame.time.Clock() self.font = pygame.font.Font(None, 24) # font object self.canvas = olpcgames.ACTIVITY.canvas - + self.joystickobject = None + self.debug = True # create the name --> instance map for components self.toolList = {} for c in tools.allTools: |