Open topic with navigation
This command is used to determine if a key is currently down
|immediate = False
This can be either an ascii character or a Vizard special key such as viz.KEY_UP
immediate = False
If True, Vizard will immediately query the keyboard instead of using the cached value.
Use this command at any time to see if a key is down.
1 if the key is down, 0 if it is not
print '"a" key is down'
print 'Up Arrow is down'