C# Class ControllerManager.JoyInterface, maptron

Datei anzeigen Open project: uclagamelab/maptron

Public Methods

Method Description
GetAnalogValue ( JoyAnalog ja ) : float
GetButton ( JoyCode jb ) : bool
GetButtonDown ( JoyCode jb ) : bool
GetButtonName ( JoyAnalog j ) : string
GetButtonName ( JoyCode j ) : string
GetButtonUp ( JoyCode jb ) : bool
GetDPad ( ) : Vector2
GetDPadHoriz ( ) : float
GetDPadVert ( ) : float
GetLeftStick ( ) : Vector2
GetLeftStickHoriz ( ) : float
GetLeftStickVert ( ) : float
GetLeftTrigger ( ) : float
GetRightStick ( ) : Vector2
GetRightStickHoriz ( ) : float
GetRightStickVert ( ) : float
GetRightTrigger ( ) : float
GetTriggers ( ) : Vector2
JoyInterface ( int p, JoyButtonSet j ) : System.Collections
ReverseLookup ( int jk ) : JoyCode
UpdateButtons ( ) : void

Private Methods

Method Description
SetKeySet ( int joystick ) : void

Method Details

GetAnalogValue() public method

public GetAnalogValue ( JoyAnalog ja ) : float
ja JoyAnalog
return float

GetButton() public method

public GetButton ( JoyCode jb ) : bool
jb JoyCode
return bool

GetButtonDown() public method

public GetButtonDown ( JoyCode jb ) : bool
jb JoyCode
return bool

GetButtonName() public method

public GetButtonName ( JoyAnalog j ) : string
j JoyAnalog
return string

GetButtonName() public method

public GetButtonName ( JoyCode j ) : string
j JoyCode
return string

GetButtonUp() public method

public GetButtonUp ( JoyCode jb ) : bool
jb JoyCode
return bool

GetDPad() public method

public GetDPad ( ) : Vector2
return Vector2

GetDPadHoriz() public method

public GetDPadHoriz ( ) : float
return float

GetDPadVert() public method

public GetDPadVert ( ) : float
return float

GetLeftStick() public method

public GetLeftStick ( ) : Vector2
return Vector2

GetLeftStickHoriz() public method

public GetLeftStickHoriz ( ) : float
return float

GetLeftStickVert() public method

public GetLeftStickVert ( ) : float
return float

GetLeftTrigger() public method

public GetLeftTrigger ( ) : float
return float

GetRightStick() public method

public GetRightStick ( ) : Vector2
return Vector2

GetRightStickHoriz() public method

public GetRightStickHoriz ( ) : float
return float

GetRightStickVert() public method

public GetRightStickVert ( ) : float
return float

GetRightTrigger() public method

public GetRightTrigger ( ) : float
return float

GetTriggers() public method

public GetTriggers ( ) : Vector2
return Vector2

JoyInterface() public method

public JoyInterface ( int p, JoyButtonSet j ) : System.Collections
p int
j JoyButtonSet
return System.Collections

ReverseLookup() public method

public ReverseLookup ( int jk ) : JoyCode
jk int
return JoyCode

UpdateButtons() public method

public UpdateButtons ( ) : void
return void