InputEventType
Public / Constants
Character
A Unicode character has been typed.
The typed character can be read from InputEvent.Character. When the source of input events is an IApplicationWindow, it may be necessary to use IApplicationWindow.TextInputBegin and IApplicationWindow.TextInputEnd, in order to enable text input. On some platforms, additional user interfaces may be displayed while text input is enabled, such as screen keyboards or other input method editors.
Clicked
A key or button has been clicked (i.e. pressed down and released quickly).
The definition of a "click" is provided by the current InputSettings.
FocusGained
The application window has gained input focus.
For each keyboard key that is currently being pressed down, a Pressed event generated after FocusGained.
MouseEnter
The mouse cursor has entered the application windows client area.
For each mouse button that is currently being pressed down, a Pressed event is generated after MouseEnter.
- See also
MouseLeave
The mouse cursor has left the application windows client area.
For each mouse button that is currently being pressed down, a Released event is generated before MouseLeave.
- See also
Pressed
A key or button has been pressed down.
One of InputEvent.Key or InputEvent.Button depicts the pressed key resp. button. The other one will be KeyboardKey.None resp. MouseButton.None.
Released
A key or button has been released.
One of InputEvent.Key or InputEvent.Button depicts the released key resp. button. The other one will be KeyboardKey.None resp. MouseButton.None.
Repeated
A keyboard key is being held down.
Events of this type will only be sent between Pressed and Released, based on the current InputSettings. These events do not represent text input, instead they are intended to be used for controlling user interface components (scrolling, for example).
- See also