diff options
author | rcoh <rcoh@mit.edu> | 2011-01-28 09:50:38 -0500 |
---|---|---|
committer | rcoh <rcoh@mit.edu> | 2011-01-28 09:50:38 -0500 |
commit | 3319a58ecc391f9aac092ade45f9f50dc2af5aa6 (patch) | |
tree | 14a10dfef67608e1759f0a5c49b0057a1addec0b /inputs | |
parent | f103e47da5d563d1b8448bc021676ed7db0f529d (diff) |
Finishing up for the demo
Diffstat (limited to 'inputs')
-rw-r--r-- | inputs/PygameInput.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inputs/PygameInput.py b/inputs/PygameInput.py index 399a77e..18f463d 100644 --- a/inputs/PygameInput.py +++ b/inputs/PygameInput.py @@ -23,7 +23,7 @@ class PygameInput(Input): if event.key == 27: self.die() if self['Keyboard']: - self.respond({'Key': event.key}) + self.respond({'Key': event.key, 'KeyChar': chr(event.key)}) return else: pygame.event.post(event) |