Click or drag to resize

wclWiiRemoteClient Class

The class provides methods to communicate with Wii Remote controller.
Inheritance Hierarchy
SystemObject
  wclBluetoothwclBluetoothComponent
    wclBluetoothwclWiiRemoteClient

Namespace: wclBluetooth
Assembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax
public class wclWiiRemoteClient : wclBluetoothComponent

The wclWiiRemoteClient type exposes the following members.

Constructors
 NameDescription
Public methodwclWiiRemoteClient Creates new Wii Remote client component.
Top
Properties
 NameDescription
Public propertyAccelEnabled Gets the current accelerometer status.
Public propertyAddress Gets and sets a target WiiRemote device's MAC address.
Public propertyExtension Gets the current connected extension type.
Public propertyIrMode Gets the current IR sensor mode.
Public propertyIrSensitivity Gets the current IR sensor sensitivity.
Public propertyLeds Gets the current LEDs state.
Public propertyRadio Gets the radio object used for connection.
Public propertyRumble Gets the current Rumble status.
Public propertyState Gets the current client state.
Public propertyTimeout Gets and sets the connect timeout value.
Top
Methods
 NameDescription
Public methodConnect Starts connecting to a Wii Remote device.
Public methodDisableAccel Disables accelerometer.
Public methodDisconnect Disconnects from the Wii Remote.
Protected methodDoAccelChanged Fire the OnAccelChanged event.
Protected methodDoBalanceBoardChanged Fires the OnBalanceBoardChanged event
Protected methodDoButtonsChanged Fires the OnButtonsChanged event.
Protected methodDoClassicControllerChanged Fires the OnClassicControllerChanged event.
Protected methodDoConnect Fires the OnConnect event.
Protected methodDoDisconnect Fires the OnDisconnect event.
Protected methodDoDrumsChanged Fires the OnDrumsChanged event.
Protected methodDoExtensionAttached Fires the OnExtensionAttached event.
Protected methodDoExtensionDetached Fires the OnExtensionDetached event.
Protected methodDoGuitarChanged Fires the OnGuitarChanged event.
Protected methodDoIrChanged Fires the OnIrChanged event.
Protected methodDoNunchukChanged Fires the OnNunchukChanged event.
Protected methodDoStatusChanged Fires the OnStatusChanged event.
Public methodEnableAccel Enables accelerometer.
Protected methodEnter Enters the Bluetooth component protection critical section.
(Inherited from wclBluetoothComponent)
Public methodEqualsDetermines whether the specified Object is equal to the current Object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as a hash function for a particular type.
(Inherited from Object)
Public methodGetStatus Requests the Wii Remote status.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodLeave Leaves the Bluetooth component protection critical section.
(Inherited from wclBluetoothComponent)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSetIrSensitivity Sets IR IR sensor sensitivity (and turns it ON or OFF).
Public methodSetLeds(wclWiiRemoteLeds) Changes the Wii Remote LEDs state.
Public methodSetLeds(Boolean, Boolean, Boolean, Boolean) Changes the Wii Remote LEDs state.
Public methodSetRumble Turns the Rumble On and Off.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventOnAccelChanged The event fires when the accelerometer state has been changed.
Public eventOnBalanceBoardChanged The event fires when the stat eof the Balance Board extension has been changed.
Public eventOnButtonsChanged The event fires when the buttons state of the Wii Remote controller has been changed.
Public eventOnClassicControllerChanged The event fires when a Classic Controller extension state has been changed.
Public eventOnConnect The event fires when a connection to a remote device has been completed (with or without success).
Public eventOnDisconnect The event fires when the remote connected device has been disconnected.
Public eventOnDrumsChanged The event fires when the Drums extension state has been changed.
Public eventOnExtensionAttached The event fires when the extension is attached.
Public eventOnExtensionDetached The event fires when the extension has been detached.
Public eventOnGuitarChanged The event fires when the Guitar extension state has been changed.
Public eventOnIrChanged The event fires when the IR sensor data has been changed.
Public eventOnNunchukChanged The event fires when the state of the Nunchuk extension has been changed.
Public eventOnStatusChanged The event fires when the WeDo Remote status changed.
Top
See Also