Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. cmds = ['self.callbackKeyRight', 'self.callbackKeyDown', 'self.callbackKeyDown']
  2.  
  3. if event.type == '2': # KeyPress; need to figure out how to get constant
  4. if k == 'Z': # Set some key here
  5. for i in range(len(cmds)):
  6. cmds[i] = True
  7. motionChange = True
  8. print 'Cmd number: ' + i
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement