Mercurial > touhou
diff pytouhou/ui/gamerunner.py @ 353:451bee1d2cec
Allow Z as well as W to shoot.
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Sat, 07 Jul 2012 21:48:58 +0200 |
parents | 2c4589370cc6 |
children | 74471afbac37 |
line wrap: on
line diff
--- a/pytouhou/ui/gamerunner.py +++ b/pytouhou/ui/gamerunner.py @@ -126,7 +126,7 @@ class GameRunner(pyglet.window.Window, G if not self.replay_level: #TODO: allow user settings keystate = 0 - if self.keys[pyglet.window.key.W]: + if self.keys[pyglet.window.key.W] or self.keys[pyglet.window.key.Z]: keystate |= 1 if self.keys[pyglet.window.key.X]: keystate |= 2