Keyboard Events

I can’t find the place where the event name for each keyboard key is (e.g. ‘escape’ for the escape key), anyone can point me in the right direction?

The manual list the mouse event names, but not the keyboard.

thanks,

bongo

import direct.directBase.DirectStart
messenger.toggleVerbose()
run()

save above code and run it with the command window open. Then just start typing keys and look at the output.

You can also see other events this way. If you minimze the window you can see an event ‘PandaPaused’ get thrown.

Works like a charm, thanks.

bongo