Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cmds = ['self.callbackKeyRight', 'self.callbackKeyDown', 'self.callbackKeyDown']
- if event.type == '2': # KeyPress; need to figure out how to get constant
- if k == 'Z': # Set some key here
- for i in range(len(cmds)):
- cmds[i] = True
- motionChange = True
- print 'Cmd number: ' + i
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement