mojo.input.KeyboardDevice.TranslateKey - nitrologic/monkey2 GitHub Wiki

mojo::mojo.input.mojo.input.KeyboardDevice.TranslateKey

Method TranslateKey:mojo:mojo.input.Key( key:mojo:mojo.input.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.