Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/physics.py
diff options
context:
space:
mode:
authorBrian Jordan <brian@laptop.org>2008-07-20 20:24:38 (GMT)
committer Brian Jordan <brian@laptop.org>2008-07-20 20:24:38 (GMT)
commit313b03a86347294b6744c127a92a9eedad4d3ba0 (patch)
treef93c05d2af7c3edc5a23c18e4c0c6b6ea0e34202 /physics.py
parentdd6761a5e4c29667725cb5298b3db32ac25280c2 (diff)
Joystick button (is awesome... in progress)
Diffstat (limited to 'physics.py')
-rw-r--r--physics.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/physics.py b/physics.py
index 9d84665..4b2bbdc 100644
--- a/physics.py
+++ b/physics.py
@@ -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: