Note: Make sure the right frame has focus when trying this example!
Press a key on your keyboard. An alert box will alert the keycode of the key.