mojo.input.KeyboardDevice.KeyName - nitrologic/monkey2 GitHub Wiki
mojo::mojo.input.mojo.input.KeyboardDevice.KeyName
monkey:monkey.types.String( key:mojo:mojo.input.Key )
Method KeyName:Gets the name of a key.
If key
is a raw key, returns the name 'printed' on the key, eg: KeyName( Key.W|Key.Raw ) will always return the name of key at the top left of the QWERTY keys.
if key
is a virtual key, returns the name of the key, eg: KeyName( Key.W ) will always return "W".