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.
InputGamePad.BUTTON Button#
The Game pad button, one of the 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:
14.12.2022
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter