C# Class Fusion.Engine.Input.Gamepad

Afficher le fichier Open project: demiurghg/FusionEngine

Méthodes publiques

Méthode Description
IsButtonPressed ( GamepadButtons button ) : bool

Returns whether a specified key is currently being pressed.

SetVibration ( float leftMotor, float rightMotor ) : void

Sets vibration

Private Methods

Méthode Description
Gamepad ( Gamepad drvGamePad ) : System

Method Details

IsButtonPressed() public méthode

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

SetVibration() public méthode

Sets vibration
public SetVibration ( float leftMotor, float rightMotor ) : void
leftMotor float
rightMotor float
Résultat void