wcl |
The wclWiiRemoteClientConnection type exposes the following members.
Name | Description | |
---|---|---|
wclWiiRemoteClientConnection | Create new Wii Remote client connection. |
Name | Description | |
---|---|---|
AccelEnabled | Gets the current accelerometer status. | |
Address | Gets a remote device MAC address. | |
DisconnectEvent | Gets the disconnect event object. | |
Extension | Gets the current connected extension type. | |
IrMode | Gets the current IR sensor mode. | |
IrSensitivity | Gets the current IR sensor sensitivity. | |
Leds | Gets the current LEDs state. | |
Radio | Gets the connection owner. | |
Receiver | Gets the connection message receiver object. (Inherited from wclCustomConnection) | |
Rumble | Gets the current Rumble status. | |
State | Gets the connection state. (Inherited from wclClientConnection) | |
ThreadId | Gets the connection's thread ID. (Inherited from wclCustomConnection) | |
Timeout | Gets the connect timeout value. (Inherited from wclClientConnection) |
Name | Description | |
---|---|---|
Connect(UInt32) | Connects to a remote device. (Inherited from wclClientConnection) | |
Connect(Int64, UInt32) | Connects to a remote device. | |
DisableAccel | Disables accelerometer. | |
Disconnect | Disconnects from the connected remote device. (Inherited from wclClientConnection) | |
DoAccelChanged | Fire the OnAccelChanged event. | |
DoBalanceBoardChanged | Fires the OnBalanceBoardChanged event | |
DoButtonsChanged | Fires the OnButtonsChanged event. | |
DoClassicControllerChanged | Fires the OnClassicControllerChanged event. | |
DoConnect | Fires the OnConnect event. (Overrides wclClientConnectionDoConnect(Int32)) | |
DoDisconnect | Fires the OnDisconnect event. (Overrides wclClientConnectionDoDisconnect(Int32)) | |
DoDrumsChanged | Fires the OnDrumsChanged event. | |
DoExtensionAttached | Fires the OnExtensionAttached event. | |
DoExtensionDetached | Fires the OnExtensionDetached event. | |
DoGuitarChanged | Fires the OnGuitarChanged event. | |
DoIrChanged | Fires the OnIrChanged event. | |
DoNunchukChanged | Fires the OnNunchukChanged event. | |
DoStatusChanged | Fires the OnStatusChanged event. | |
EnableAccel | Enables accelerometer. | |
Enter | Enters the connection's critical section. (Inherited from wclCustomConnection) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object) | |
Finalize | Frees the connection. (Inherited from wclClientConnection) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object) | |
GetStatus | Requests the Wii Remote status. | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
HalCommunicate | Implements a hardware-dependent code that communicate with the
connected remote device. (Inherited from wclClientConnection) | |
HalConnect | Implements a hardware-dependent code that connects to a
remote device. (Overrides wclClientConnectionHalConnect(IntPtr)) | |
HalDisconnect | Implements a hardware-dependent code that disconnects from the
connected remote device. (Overrides wclClientConnectionHalDisconnect) | |
HalWrite | Implements a hardware-dependent code that writes data report to the connected Wii Remote controller. | |
InternalDisconnect | The internal disconnect method. Disconnects from a
connected remote device. (Inherited from wclClientConnection) | |
Leave | Exists *leaves) the connection's critical section. (Inherited from wclCustomConnection) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
MessageReceived | The method called when a new notification message
received. (Overrides wclClientConnectionMessageReceived(wclMessage)) | |
NotifyClosed | Send a Disconnect notification message. (Inherited from wclClientConnection) | |
ProcessReport | The function parses the received report. | |
SetIrSensitivity | Sets IR IR sensor sensitivity (and turns it ON or OFF). | |
SetLeds(wclWiiRemoteLeds) | Changes the Wii Remote LEDs state. | |
SetLeds(Boolean, Boolean, Boolean, Boolean) | Changes the Wii Remote LEDs state. | |
SetRumble | Turns the Rumble On and Off. | |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Name | Description | |
---|---|---|
OnAccelChanged | The event fires when the accelerometer state has been changed. | |
OnBalanceBoardChanged | The event fires when the stat eof the Balance Board extension has been changed. | |
OnButtonsChanged | The event fires when the buttons state of the Wii Remote controller has been changed. | |
OnClassicControllerChanged | The event fires when a Classic Controller extension state has been changed. | |
OnConnect | The event fires when a connection to a remote device
has been completed (with or without success). (Inherited from wclClientConnection) | |
OnDisconnect | The event fires when the remote connected device has been
disconnected. (Inherited from wclClientConnection) | |
OnDrumsChanged | The event fires when the Drums extension state has been changed. | |
OnExtensionAttached | The event fires when the extension is attached. | |
OnExtensionDetached | The event fires when the extension has been detached. | |
OnGuitarChanged | The event fires when the Guitar extension state has been changed. | |
OnIrChanged | The event fires when the IR sensor data has been changed. | |
OnNunchukChanged | The event fires when the state of the Nunchuk extension has been changed. | |
OnStatusChanged | The event fires when the WeDo Remote status changed. |
The class provides methods to receive data from the Wii Remote controller.
An application must never create instances of this class directly. Instead of that an application must use related methods from the wclBluetoothRadio object.
The feature is supported only on Windows 10 platform with Microsoft Bluetooth drivers.