aboutsummaryrefslogtreecommitdiff
path: root/inputs/PygameInput.py
diff options
context:
space:
mode:
Diffstat (limited to 'inputs/PygameInput.py')
-rw-r--r--inputs/PygameInput.py2
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)