Skip to content

Mojo input keyboarddevice translatekey

mojo:mojo.input.KeyboardDevice.TranslateKey

Method TranslateKey:Key( key:Key )#

Translates a key to/from a raw key.

If key is a raw key, returns the corresponding virtual key.

If key is a virtual key, returns the corresponding raw key.