The OpenD Programming Language

InputEvent.Type

.

Values

ValueMeaning
KeyboardEvent

Keyboard key pressed (or released, where supported)

CharacterEvent

Do not use this in new programs, use KeyboardEvent instead

NonCharacterKeyEvent

Do not use this in new programs, use KeyboardEvent instead

PasteEvent

The user pasted some text. Not always available, the pasted text might come as a series of character events instead.

LinkEvent

User clicked a hyperlink you created. Simply ignore if you are not using that feature.

MouseEvent

only sent if you subscribed to mouse events

SizeChangedEvent

only sent if you subscribed to size events

UserInterruptionEvent

the user hit ctrl+c

EndOfFileEvent

stdin has received an end of file

HangupEvent

the terminal hanged up - for example, if the user closed a terminal emulator

CustomEvent

.

Meta