From b335b746523ffd59db1402b097a802b3fd99eaac Mon Sep 17 00:00:00 2001 From: rcoh Date: Wed, 8 Dec 2010 16:39:50 -0500 Subject: Code for the demo. Everything works afaik. Contains a couple more optimizations. Contains modify param behavior. Improved support for recursive hooks. Modifications to SmootCoreObject to get us closer to a fully multi-threaded system. This should be the last commit directly to master. All further commits should be on subranches and get merged. --- inputs/PygameInput.py | 1 + 1 file changed, 1 insertion(+) (limited to 'inputs') diff --git a/inputs/PygameInput.py b/inputs/PygameInput.py index e07592b..1f438d6 100644 --- a/inputs/PygameInput.py +++ b/inputs/PygameInput.py @@ -9,6 +9,7 @@ class PygameInput(Input): #try: if self['FollowMouse']: self.respond({Util.location: pygame.mouse.get_pos()}) + return for event in pygame.event.get(): if event.type is KEYDOWN: self.respond({Util.location: (5,5),'Key': event.key}) -- cgit v1.2.3