![]() |
|
#2
|
|||
|
|||
|
Hi,
Vizard already handles special keys. For example, if you want to check for the insert and delete key being pressed you would do the following: Code:
def onkeydown(key):
if key == viz.KEY_INSERT:
print 'Insert key pressed'
elif key == viz.KEY_DELETE:
print 'Delete key pressed'
Hope this helps! |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|