C# Class XboxBigButton.XboxBigButtonDevice

显示文件 Open project: sverrirs/XboxBigButton

Public Methods

Method Description
Connect ( ) : void
Disconnect ( ) : void
XboxBigButtonDevice ( string customDeviceInterfaceGuid = null ) : System

Constructs a new instance of the XboxBigButtonDevice

Protected Methods

Method Description
OnButtonStateChanged ( XboxBigButtonDeviceEventArgs e ) : void

Private Methods

Method Description
BgWorkerOnDoWork ( object sender, DoWorkEventArgs e ) : void
BgWorkerOnProgressChanged ( object sender, ProgressChangedEventArgs e ) : void
BgWorkerOnRunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
ProcessIncomingMessage ( byte inbuffer ) : void

Method Details

Connect() public method

public Connect ( ) : void
return void

Disconnect() public method

public Disconnect ( ) : void
return void

OnButtonStateChanged() protected method

protected OnButtonStateChanged ( XboxBigButtonDeviceEventArgs e ) : void
e XboxBigButtonDeviceEventArgs
return void

XboxBigButtonDevice() public method

Constructs a new instance of the XboxBigButtonDevice
public XboxBigButtonDevice ( string customDeviceInterfaceGuid = null ) : System
customDeviceInterfaceGuid string Optional custom deviceInterfaceGuid in case the default GUID in the supplied driver is modified
return System