Unigine.InputEventJoyButton Class
Inherits from: | InputEvent |
InputEventJoyButton Class
Перечисления (Enums)
ACTION#
Имя | Описание |
---|---|
DOWN = 0 | Button state is "pressed". |
UP = 1 | Button state is "released". |
Properties
InputEventJoyButton.ACTION Action#
The Type of the joystick input event, one of the ACTION values.
int ConnectionID#
The Connection identifier.
int Button#
The Joystick button index.
Members
InputEventJoyButton ( ) #
Default constructor.InputEventJoyButton ( ulong timestamp, ivec2 mouse_pos ) #
Joystick button input event constructor.Arguments
- ulong timestamp - Timestamp of the event.
- ivec2 mouse_pos - Position of the mouse.
InputEventJoyButton ( ulong timestamp, ivec2 mouse_pos, InputEventJoyButton.ACTION action, int connection_id, int button ) #
Joystick button input event constructor.Arguments
- ulong timestamp - Timestamp of the event.
- ivec2 mouse_pos - Position of the mouse.
- InputEventJoyButton.ACTION action - Type of the joystick button input event, one of the ACTION values.
- int connection_id - Connection identifier.
- int button - Joystick button index.
Last update:
13.12.2024
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter