Unigine.InputEventJoyDevice Class
Inherits from: | InputEvent |
InputEventJoyDevice Class
Перечисления (Enums)
ACTION#
Имя | Описание |
---|---|
CONNECTED = 0 | Joystick state is "connected". |
DISCONNECTED = 1 | Joystick state is "disconnected". |
Properties
InputEventJoyDevice.ACTION Action#
The Type of the joystick input event, one of the ACTION values.
int ConnectionID#
The Сonnection identifier.
int PlayerIndex#
The Player index.
string ModelGUID#
The GUID of the joystick model.
Members
InputEventJoyDevice ( ) #
Default constructor.InputEventJoyDevice ( ulong timestamp, ivec2 mouse_pos ) #
Joystick input event constructor.Arguments
- ulong timestamp - Timestamp of the event.
- ivec2 mouse_pos - Position of the mouse.
InputEventJoyDevice ( ulong timestamp, ivec2 mouse_pos, InputEventJoyDevice.ACTION action, int connection_id, int player_index, string model_guid ) #
Joystick input event constructor.Arguments
- ulong timestamp - Timestamp of the event.
- ivec2 mouse_pos - Position of the mouse.
- InputEventJoyDevice.ACTION action - Type of the joystick input event, one of the ACTION values.
- int connection_id - Connection identifier.
- int player_index - Index of the player.
- string model_guid - GUID of the joystick model.
Last update:
13.12.2024
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter