The OpenD Programming Language

KeyUpEvent

Indicates that the user has released a key on the keyboard. For available properties, see KeyEventBase.

More...
class KeyUpEvent : KeyEventBase {
enum EventString;
}

Inherited Members

From KeyEventBase

key
Key key;
ctrlKey
bool ctrlKey;
altKey
bool altKey;
shiftKey
bool shiftKey;

Indicates the current state of the given keyboard modifier keys.

state
int state;

The raw bitflags that are parsed out into ctrlKey, altKey, and shiftKey.

Detailed Description

You can construct these yourself, but generally the system will send them to you and there's little need to emit your own.

See Also

Meta

History

Added May 2, 2021. Previously, it was only seen as the base Event class on "keyup" event listeners.