Enum InputEvent.Type

.

enum Type : int { ... }

Enum members

NameDescription
CharacterEvent Do not use this in new programs, use KeyboardEvent instead
CustomEvent .
EndOfFileEvent stdin has received an end of file
HangupEvent the terminal hanged up - for example, if the user closed a terminal emulator
KeyboardEvent Keyboard key pressed (or released, where supported)
MouseEvent only sent if you subscribed to mouse events
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.
SizeChangedEvent only sent if you subscribed to size events
UserInterruptionEvent the user hit ctrl+c