# keyTest.py
from Processing import *
window(200, 100)

# Print key and keyCode when pressed
def testKey(o, e):
	print( "key() is ", key() )
	print( "keyCode() is ", keyCode() )

onKeyPressed += testKey
