C# Class SimShift.Controllers.JoystickInput

ファイルを表示 Open project: nlhans/SimShift

Public Properties

Property Type Description
Press JoystickButtonEvent
Release JoystickButtonEvent
State JoystickButtonPress

Public Methods

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

Private Methods

Method Description
JoystickUpdateTick ( object sender, EventArgs e ) : void

Method Details

GetAxis() public method

public GetAxis ( int id ) : double
id int
return double

GetButton() public method

public GetButton ( int id ) : bool
id int
return bool

GetPov() public method

public GetPov ( int i ) : bool
i int
return bool

JoystickInput() public method

public JoystickInput ( JoystickInputDevice dev ) : System
dev JoystickInputDevice
return System

Property Details

Press public_oe property

public JoystickButtonEvent Press
return JoystickButtonEvent

Release public_oe property

public JoystickButtonEvent Release
return JoystickButtonEvent

State public_oe property

public JoystickButtonPress State
return JoystickButtonPress