C# Class Driver360WChatPad.JoystickController

Mostra file Open project: ryandb2/XBOX360WIRELESSCONTROLLERCHATPAD Class Usage Examples

Public Properties

Property Type Description
dt System.Data.DataTable
joysticks List
usages HID_USAGES>.Dictionary

Public Methods

Method Description
AxisSet ( uint joystickIndex, int value, int usageIndex ) : void
ButtonToggle ( uint joystickIndex, uint value, bool isPressed ) : void
GetJoystickKeyValue ( string value, int buttonGroup ) : uint
JoystickController ( ) : System

Private Methods

Method Description
ValidateJoystick ( int joystickID ) : void

Method Details

AxisSet() public method

public AxisSet ( uint joystickIndex, int value, int usageIndex ) : void
joystickIndex uint
value int
usageIndex int
return void

ButtonToggle() public method

public ButtonToggle ( uint joystickIndex, uint value, bool isPressed ) : void
joystickIndex uint
value uint
isPressed bool
return void

GetJoystickKeyValue() public method

public GetJoystickKeyValue ( string value, int buttonGroup ) : uint
value string
buttonGroup int
return uint

JoystickController() public method

public JoystickController ( ) : System
return System

Property Details

dt public_oe property

public DataTable,System.Data dt
return System.Data.DataTable

joysticks public_oe property

public List joysticks
return List

usages public_oe property

public Dictionary usages
return HID_USAGES>.Dictionary