How to listen for key events on the keyboard

Hi guys

How do I monitor the key events on the keyboard, for example, I want to hear the delete event. When I press the delete key, I want to do some processing, and I want to prohibit the use of Ctrl + C to copy, Ctrl + V to paste.


This is discussed at: GoJS Commands -- Northwoods Software