Logo
Public Types | Public Member Functions | Static Public Member Functions | Properties | List of all members
Yukar.Engine.BindProperty Struct Reference

Input value information More...

Public Types

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...
 

Public Member Functions

 BindProperty (List< Tuple< int, InputIds, float > > inputProperties, Input.KeyStates action)
 constructor More...
 
 BindProperty (List< Tuple< int, InputIds, float > > inputProperties, Input.KeyStates action, Input.GameState gameState)
 constructor More...
 

Static Public Member Functions

static string IntToKeyCodeName (int key)
 Integer =>KeyCode name More...
 

Properties

List< Tuple< int, InputIds, float > > InputProperties [get]
 Input information (in order: key code, pad or mouse input value, axis coefficient) More...
 
Input.KeyStates Action [get]
 instruction on input More...
 
Input.GameState GameState [get]
 

Detailed Description

Input value information

Member Enumeration Documentation

◆ 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 

Constructor & Destructor Documentation

◆ BindProperty() [1/2]

Yukar.Engine.BindProperty.BindProperty ( List< Tuple< int, InputIds, float > >  inputProperties,
Input.KeyStates  action 
)

constructor

Parameters
inputPropertiesInput information
axisCoefficientCoefficient of axis

◆ BindProperty() [2/2]

Yukar.Engine.BindProperty.BindProperty ( List< Tuple< int, InputIds, float > >  inputProperties,
Input.KeyStates  action,
Input.GameState  gameState 
)

constructor

Parameters
inputPropertiesInput information
axisCoefficientCoefficient of axis
gameStateResponsive game state

Member Function Documentation

◆ IntToKeyCodeName()

static string Yukar.Engine.BindProperty.IntToKeyCodeName ( int  key)
static

Integer =>KeyCode name

Parameters
key
Returns

Property Documentation

◆ Action

Input.KeyStates Yukar.Engine.BindProperty.Action
get

instruction on input

◆ GameState

Input.GameState Yukar.Engine.BindProperty.GameState
get

◆ InputProperties

List<Tuple<int, InputIds, float> > Yukar.Engine.BindProperty.InputProperties
get

Input information (in order: key code, pad or mouse input value, axis coefficient)