C# Class NewTOAPIA.UI.HIDDevice

The HIDDevice class represents any device, physical or virtual, that is 'connected' to the system, and generally has joystick behaviors.
Inheritance: RawInputDevice
Show file Open project: Wiladams/NewTOAPIA

Public Methods

Method Description
AttachToWindow ( IntPtr windowHandle ) : bool
DetachFromWindow ( ) : bool
HIDDevice ( IntPtr hDevice ) : System

Constructor taking a device handle. From this device handle very specific device information can be found.

OnNext ( MSG aMSG ) : void
Start ( ) : bool
Stop ( ) : bool
ToString ( ) : string

Method Details

AttachToWindow() public method

public AttachToWindow ( IntPtr windowHandle ) : bool
windowHandle System.IntPtr
return bool

DetachFromWindow() public method

public DetachFromWindow ( ) : bool
return bool

HIDDevice() public method

Constructor taking a device handle. From this device handle very specific device information can be found.
public HIDDevice ( IntPtr hDevice ) : System
hDevice System.IntPtr
return System

OnNext() public method

public OnNext ( MSG aMSG ) : void
aMSG TOAPI.Types.MSG
return void

Start() public method

public Start ( ) : bool
return bool

Stop() public method

public Stop ( ) : bool
return bool

ToString() public method

public ToString ( ) : string
return string