C# Class Fusion.Engine.Input.Gamepad

Mostrar archivo Open project: demiurghg/FusionEngine

Public Methods

Method Description
IsButtonPressed ( GamepadButtons button ) : bool

Returns whether a specified key is currently being pressed.

SetVibration ( float leftMotor, float rightMotor ) : void

Sets vibration

Private Methods

Method Description
Gamepad ( Gamepad drvGamePad ) : System

Method Details

IsButtonPressed() public method

Returns whether a specified key is currently being pressed.
public IsButtonPressed ( GamepadButtons button ) : bool
button GamepadButtons
return bool

SetVibration() public method

Sets vibration
public SetVibration ( float leftMotor, float rightMotor ) : void
leftMotor float
rightMotor float
return void