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