Input value information
More...
|
enum | InputIds {
NONE = -1
, DPAD_UP = 0
, DPAD_DOWN = 1
, DPAD_LEFT = 2
,
DPAD_RIGHT = 3
, PAD_BUTTON7 = 4
, PAD_BUTTON6 = 5
, PAD_BUTTON8 = 6
,
PAD_BUTTON9 = 7
, PAD_BUTTON4 = 8
, PAD_BUTTON5 = 9
, PAD_BUTTON0 = 10
,
PAD_BUTTON1 = 11
, PAD_BUTTON2 = 12
, PAD_BUTTON3 = 13
, PAD_BUTTON10 = 14
,
PAD_BUTTON11 = 15
, PAD_LEFT_THUMB_X = 16
, PAD_LEFT_THUMB_Y = 17
, PAD_RIGHT_THUMB_X = 18
,
PAD_RIGHT_THUMB_Y = 19
, MOUSE_POS_X = 20
, MOUSE_POS_Y = 21
, MOUSE_BUTTON_L = 22
,
MOUSE_BUTTON_R = 23
, MOUSE_BUTTON_M = 24
, MOUSE_WHEEL = 25
, MOUSE_WHEEL_PLUS
,
MOUSE_WHEEL_MINUS
, PAD_LEFT_THUMB_X_PLUS
, PAD_LEFT_THUMB_X_MINUS
, PAD_LEFT_THUMB_Y_PLUS
,
PAD_LEFT_THUMB_Y_MINUS
, PAD_RIGHT_THUMB_X_PLUS
, PAD_RIGHT_THUMB_X_MINUS
, PAD_RIGHT_THUMB_Y_PLUS
,
PAD_RIGHT_THUMB_Y_MINUS
, PAD_LEFT_PRESSED_THUMB_X_PLUS
, PAD_LEFT_PRESSED_THUMB_X_MINUS
, PAD_LEFT_PRESSED_THUMB_Y_PLUS
,
PAD_LEFT_PRESSED_THUMB_Y_MINUS
, PAD_RIGHT_PRESSED_THUMB_X_PLUS
, PAD_RIGHT_PRESSED_THUMB_X_MINUS
, PAD_RIGHT_PRESSED_THUMB_Y_PLUS
,
PAD_RIGHT_PRESSED_THUMB_Y_MINUS
, AMOUNT
} |
| ID of the input value More...
|
|
◆ InputIds
ID of the input value
Enumerator |
---|
NONE | |
DPAD_UP | |
DPAD_DOWN | |
DPAD_LEFT | |
DPAD_RIGHT | |
PAD_BUTTON7 | |
PAD_BUTTON6 | |
PAD_BUTTON8 | |
PAD_BUTTON9 | |
PAD_BUTTON4 | |
PAD_BUTTON5 | |
PAD_BUTTON0 | |
PAD_BUTTON1 | |
PAD_BUTTON2 | |
PAD_BUTTON3 | |
PAD_BUTTON10 | |
PAD_BUTTON11 | |
PAD_LEFT_THUMB_X | |
PAD_LEFT_THUMB_Y | |
PAD_RIGHT_THUMB_X | |
PAD_RIGHT_THUMB_Y | |
MOUSE_POS_X | |
MOUSE_POS_Y | |
MOUSE_BUTTON_L | |
MOUSE_BUTTON_R | |
MOUSE_BUTTON_M | |
MOUSE_WHEEL | |
MOUSE_WHEEL_PLUS | |
MOUSE_WHEEL_MINUS | |
PAD_LEFT_THUMB_X_PLUS | |
PAD_LEFT_THUMB_X_MINUS | |
PAD_LEFT_THUMB_Y_PLUS | |
PAD_LEFT_THUMB_Y_MINUS | |
PAD_RIGHT_THUMB_X_PLUS | |
PAD_RIGHT_THUMB_X_MINUS | |
PAD_RIGHT_THUMB_Y_PLUS | |
PAD_RIGHT_THUMB_Y_MINUS | |
PAD_LEFT_PRESSED_THUMB_X_PLUS | |
PAD_LEFT_PRESSED_THUMB_X_MINUS | |
PAD_LEFT_PRESSED_THUMB_Y_PLUS | |
PAD_LEFT_PRESSED_THUMB_Y_MINUS | |
PAD_RIGHT_PRESSED_THUMB_X_PLUS | |
PAD_RIGHT_PRESSED_THUMB_X_MINUS | |
PAD_RIGHT_PRESSED_THUMB_Y_PLUS | |
PAD_RIGHT_PRESSED_THUMB_Y_MINUS | |
AMOUNT | |
◆ BindProperty() [1/2]
Yukar.Engine.BindProperty.BindProperty |
( |
List< Tuple< int, InputIds, float > > |
inputProperties, |
|
|
Input.KeyStates |
action |
|
) |
| |
constructor
- Parameters
-
inputProperties | Input information |
axisCoefficient | Coefficient of axis |
◆ BindProperty() [2/2]
constructor
- Parameters
-
inputProperties | Input information |
axisCoefficient | Coefficient of axis |
gameState | Responsive game state |
◆ IntToKeyCodeName()
static string Yukar.Engine.BindProperty.IntToKeyCodeName |
( |
int |
key | ) |
|
|
static |
Integer =>KeyCode name
- Parameters
-
- Returns
◆ Action
◆ GameState
◆ InputProperties
List<Tuple<int, InputIds, float> > Yukar.Engine.BindProperty.InputProperties |
|
get |
Input information (in order: key code, pad or mouse input value, axis coefficient)