C# Class PS4Controller, Malisse

Inheritance: BaseController
Mostrar archivo Open project: Collegiennes/Malisse Class Usage Examples

Public Methods

Method Description
GetButton ( PS4Controller, buttonId ) : bool
GetButtonDown ( PS4Controller, buttonId ) : bool
GetButtonName ( BaseController, buttonId ) : string
GetButtonUp ( PS4Controller, buttonId ) : bool
GetDPad ( ) : Vector2
GetLeftJoystick ( ) : Vector2
GetRightJoystick ( ) : Vector2
SetKeyMapping ( ) : void

Private Methods

Method Description
AddJoystickButtonMap ( PS4Controller, buttonId, int inputKey ) : void

Method Details

GetButton() public method

public GetButton ( PS4Controller, buttonId ) : bool
buttonId PS4Controller,
return bool

GetButtonDown() public method

public GetButtonDown ( PS4Controller, buttonId ) : bool
buttonId PS4Controller,
return bool

GetButtonName() public method

public GetButtonName ( BaseController, buttonId ) : string
buttonId BaseController,
return string

GetButtonUp() public method

public GetButtonUp ( PS4Controller, buttonId ) : bool
buttonId PS4Controller,
return bool

GetDPad() public method

public GetDPad ( ) : Vector2
return Vector2

GetLeftJoystick() public method

public GetLeftJoystick ( ) : Vector2
return Vector2

GetRightJoystick() public method

public GetRightJoystick ( ) : Vector2
return Vector2

SetKeyMapping() public method

public SetKeyMapping ( ) : void
return void