Unigine.InputEventKeyboard Class
Inherits from: | InputEvent |
InputEventKeyboard Class
Enums
ACTION#
Name | Description |
---|---|
DOWN = 0 | Keyboard button is held down. |
REPEAT = 1 | Keyboard button has been pressed repeatedly. |
UP = 2 | Keyboard button has been released. |
Properties
InputEventKeyboard.ACTION Action#
The Action performed by the keyboard.
Input.KEY Key#
The Virtual keyboard key value (dependent on the keyboard language).
Members
InputEventKeyboard ( ) #
Default constructor.InputEventKeyboard ( ulong timestamp, ivec2 mouse_pos, InputEventKeyboard.ACTION action, Input.KEY key ) #
Keyboard input event constructor.Arguments
- ulong timestamp - Timestamp of the event.
- ivec2 mouse_pos - Position of the mouse.
- InputEventKeyboard.ACTION action - Action performed.
- Input.KEY key - Virtual keyboard key value (dependent on the language).
InputEventKeyboard ( ulong timestamp, ivec2 mouse_pos ) #
Keyboard input event constructor.Arguments
- ulong timestamp - Timestamp of the event.
- ivec2 mouse_pos - Position of the mouse.
Last update:
2022-12-14
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)