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

mojo::mojo.input.mojo.input.KeyboardDevice.KeyReleased

Method KeyReleased:monkey:monkey.types.Bool( key:mojo:mojo.input.Key )

Checks if a key was released.

Returns true if key was released since the last call to KeyReleased with the same key.

If key is a raw key, the state of the key as it is physically positioned on US keyboards is returned.

Parameters
key key Key to check.