Enumeration of input event types.
enum
|
InputEventType
|
See also:
InputEvent
None
|
= 0
|
No input event. |
---|---|---|
Character
|
= 1
|
A character has been typed in. Remarks: The typed character can be read from Character. See also: InputEvent.CharacterInputEvent.MouseCursor |
Clicked
|
= 2
|
A key or button has been clicked (i.e. pressed down and released quickly). See also: InputEvent.ButtonInputEvent.Key InputEvent.MouseCursor InputEvent.Modifiers |
Closing
|
= 3
|
The user has requested to close the window. |
FocusGained
|
= 4
|
The application window has gained input focus. Remarks: For each keyboard key that is currently being pressed down, a Pressed event generated after FocusGained. |
FocusLost
|
= 5
|
The application window has lost input focus. Remarks: For each keyboard key that is currently being pressed down, a Released event generated before FocusLost. |
MouseEnter
|
= 6
|
The mouse cursor has entered the application windows client area. Remarks: For each mouse button that is currently being pressed down, a Pressed event is generated after MouseEnter. See also: InputEvent.MouseCursor |
MouseLeave
|
= 7
|
The mouse cursor has left the application windows client area. Remarks: For each mouse button that is currently being pressed down, a Released event is generated before MouseLeave. See also: InputEvent.MouseCursor |
MouseMove
|
= 8
|
The mouse has moved or the mouse wheel has rotated. See also: InputEvent.MouseCursorInputEvent.MouseMove InputEvent.MouseWheel InputEvent.Modifiers |
Pressed
|
= 9
|
A key or button has been pressed down. Remarks: One of Key or Button depicts the pressed key resp. button. The other one will be None resp. None. The state of a key or button (down or up) can be tracked solely with Pressed and Released events. See also: InputEvent.ButtonInputEvent.Key InputEvent.MouseCursor InputEvent.Modifiers |
Released
|
= 10
|
A key or button has been released. Remarks: One of Key or Button depicts the released key resp. button. The other one will be None resp. None. The state of a key or button (down or up) can be tracked solely with Pressed and Released events. See also: InputEvent.ButtonInputEvent.Key InputEvent.MouseCursor InputEvent.Modifiers |