Unigine.InputEventJoyDevice Class
Inherits from: | InputEvent |
InputEventJoyDevice Class
Enums
ACTION#
Name | Description |
---|---|
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:
2022-09-27
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)