C# Class SimShift.Controllers.JoystickInput

Afficher le fichier Open project: nlhans/SimShift

Méthodes publiques

Свойство Type Description
Press JoystickButtonEvent
Release JoystickButtonEvent
State JoystickButtonPress

Méthodes publiques

Méthode Description
GetAxis ( int id ) : double
GetButton ( int id ) : bool
GetPov ( int i ) : bool
JoystickInput ( JoystickInputDevice dev ) : System

Private Methods

Méthode Description
JoystickUpdateTick ( object sender, EventArgs e ) : void

Method Details

GetAxis() public méthode

public GetAxis ( int id ) : double
id int
Résultat double

GetButton() public méthode

public GetButton ( int id ) : bool
id int
Résultat bool

GetPov() public méthode

public GetPov ( int i ) : bool
i int
Résultat bool

JoystickInput() public méthode

public JoystickInput ( JoystickInputDevice dev ) : System
dev JoystickInputDevice
Résultat System

Property Details

Press public_oe property

public JoystickButtonEvent Press
Résultat JoystickButtonEvent

Release public_oe property

public JoystickButtonEvent Release
Résultat JoystickButtonEvent

State public_oe property

public JoystickButtonPress State
Résultat JoystickButtonPress