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