Click or drag to resize

wclWiiRemoteHidClientConnection Class

The virtual connection represents a Wii Remote HID client.
Inheritance Hierarchy
SystemObject
  wclCommunicationwclCustomConnection
    wclCommunicationwclClientConnection
      wclBluetoothwclWiiRemoteClientConnection
        wclBluetoothwclWiiRemoteHidClientConnection

Namespace: wclBluetooth
Assembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax
public class wclWiiRemoteHidClientConnection : wclWiiRemoteClientConnection

The wclWiiRemoteHidClientConnection type exposes the following members.

Constructors
 NameDescription
Public methodwclWiiRemoteHidClientConnection Create new Wii Remote HID client connection.
Top
Properties
 NameDescription
Public propertyAccelEnabled Gets the current accelerometer status.
(Inherited from wclWiiRemoteClientConnection)
Public propertyAddress Gets a remote device MAC address.
(Inherited from wclWiiRemoteClientConnection)
Protected propertyDisconnectEvent Gets the disconnect event object.
(Inherited from wclWiiRemoteClientConnection)
Public propertyExtension Gets the current connected extension type.
(Inherited from wclWiiRemoteClientConnection)
Public propertyIrMode Gets the current IR sensor mode.
(Inherited from wclWiiRemoteClientConnection)
Public propertyIrSensitivity Gets the current IR sensor sensitivity.
(Inherited from wclWiiRemoteClientConnection)
Public propertyLeds Gets the current LEDs state.
(Inherited from wclWiiRemoteClientConnection)
Public propertyRadio Gets the connection owner.
(Inherited from wclWiiRemoteClientConnection)
Public propertyReceiver Gets the connection message receiver object.
(Inherited from wclCustomConnection)
Public propertyRumble Gets the current Rumble status.
(Inherited from wclWiiRemoteClientConnection)
Public propertyState Gets the connection state.
(Inherited from wclClientConnection)
Public propertyThreadId Gets the connection's thread ID.
(Inherited from wclCustomConnection)
Public propertyTimeout Gets the connect timeout value.
(Inherited from wclClientConnection)
Top
Methods
 NameDescription
Public methodConnect(UInt32) Connects to a remote device.
(Inherited from wclClientConnection)
Public methodConnect(Int64, UInt32) Connects to a remote device.
(Inherited from wclWiiRemoteClientConnection)
Public methodDisableAccel Disables accelerometer.
(Inherited from wclWiiRemoteClientConnection)
Public methodDisconnect Disconnects from the connected remote device.
(Inherited from wclClientConnection)
Protected methodDoAccelChanged Fire the OnAccelChanged event.
(Inherited from wclWiiRemoteClientConnection)
Protected methodDoBalanceBoardChanged Fires the OnBalanceBoardChanged event
(Inherited from wclWiiRemoteClientConnection)
Protected methodDoButtonsChanged Fires the OnButtonsChanged event.
(Inherited from wclWiiRemoteClientConnection)
Protected methodDoClassicControllerChanged Fires the OnClassicControllerChanged event.
(Inherited from wclWiiRemoteClientConnection)
Protected methodDoConnect Fires the OnConnect event.
(Inherited from wclWiiRemoteClientConnection)
Protected methodDoDisconnect Fires the OnDisconnect event.
(Inherited from wclWiiRemoteClientConnection)
Protected methodDoDrumsChanged Fires the OnDrumsChanged event.
(Inherited from wclWiiRemoteClientConnection)
Protected methodDoExtensionAttached Fires the OnExtensionAttached event.
(Inherited from wclWiiRemoteClientConnection)
Protected methodDoExtensionDetached Fires the OnExtensionDetached event.
(Inherited from wclWiiRemoteClientConnection)
Protected methodDoGuitarChanged Fires the OnGuitarChanged event.
(Inherited from wclWiiRemoteClientConnection)
Protected methodDoIrChanged Fires the OnIrChanged event.
(Inherited from wclWiiRemoteClientConnection)
Protected methodDoNunchukChanged Fires the OnNunchukChanged event.
(Inherited from wclWiiRemoteClientConnection)
Protected methodDoStatusChanged Fires the OnStatusChanged event.
(Inherited from wclWiiRemoteClientConnection)
Public methodEnableAccel Enables accelerometer.
(Inherited from wclWiiRemoteClientConnection)
Protected methodEnter Enters the connection's critical section.
(Inherited from wclCustomConnection)
Public methodEqualsDetermines whether the specified Object is equal to the current Object.
(Inherited from Object)
Protected methodFinalize Frees the connection.
(Inherited from wclClientConnection)
Public methodGetHashCodeServes as a hash function for a particular type.
(Inherited from Object)
Public methodGetStatus Requests the Wii Remote status.
(Inherited from wclWiiRemoteClientConnection)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodHalCommunicate Communicates with the Wii Remote as with HID device.
(Overrides wclClientConnectionHalCommunicate(IntPtr))
Protected methodHalConnect Connects to the Wii Remote as to HID device.
(Overrides wclWiiRemoteClientConnectionHalConnect(IntPtr))
Protected methodHalDisconnect Disconnects from the Wii Remote as from HID device.
(Overrides wclWiiRemoteClientConnectionHalDisconnect)
Protected methodHalWrite Sends data to the Wii Remote as to HID device.
(Overrides wclWiiRemoteClientConnectionHalWrite(Byte))
Protected methodInternalDisconnect The internal disconnect method. Disconnects from a connected remote device.
(Inherited from wclClientConnection)
Protected methodLeave Exists *leaves) the connection's critical section.
(Inherited from wclCustomConnection)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodMessageReceived The method called when a new notification message received.
(Inherited from wclWiiRemoteClientConnection)
Protected methodNotifyClosed Send a Disconnect notification message.
(Inherited from wclClientConnection)
Protected methodProcessReport The function parses the received report.
(Inherited from wclWiiRemoteClientConnection)
Public methodSetIrSensitivity Sets IR IR sensor sensitivity (and turns it ON or OFF).
(Inherited from wclWiiRemoteClientConnection)
Public methodSetLeds(wclWiiRemoteLeds) Changes the Wii Remote LEDs state.
(Inherited from wclWiiRemoteClientConnection)
Public methodSetLeds(Boolean, Boolean, Boolean, Boolean) Changes the Wii Remote LEDs state.
(Inherited from wclWiiRemoteClientConnection)
Public methodSetRumble Turns the Rumble On and Off.
(Inherited from wclWiiRemoteClientConnection)
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.
(Inherited from wclWiiRemoteClientConnection)
Public eventOnBalanceBoardChanged The event fires when the stat eof the Balance Board extension has been changed.
(Inherited from wclWiiRemoteClientConnection)
Public eventOnButtonsChanged The event fires when the buttons state of the Wii Remote controller has been changed.
(Inherited from wclWiiRemoteClientConnection)
Public eventOnClassicControllerChanged The event fires when a Classic Controller extension state has been changed.
(Inherited from wclWiiRemoteClientConnection)
Public eventOnConnect The event fires when a connection to a remote device has been completed (with or without success).
(Inherited from wclClientConnection)
Public eventOnDisconnect The event fires when the remote connected device has been disconnected.
(Inherited from wclClientConnection)
Public eventOnDrumsChanged The event fires when the Drums extension state has been changed.
(Inherited from wclWiiRemoteClientConnection)
Public eventOnExtensionAttached The event fires when the extension is attached.
(Inherited from wclWiiRemoteClientConnection)
Public eventOnExtensionDetached The event fires when the extension has been detached.
(Inherited from wclWiiRemoteClientConnection)
Public eventOnGuitarChanged The event fires when the Guitar extension state has been changed.
(Inherited from wclWiiRemoteClientConnection)
Public eventOnIrChanged The event fires when the IR sensor data has been changed.
(Inherited from wclWiiRemoteClientConnection)
Public eventOnNunchukChanged The event fires when the state of the Nunchuk extension has been changed.
(Inherited from wclWiiRemoteClientConnection)
Public eventOnStatusChanged The event fires when the WeDo Remote status changed.
(Inherited from wclWiiRemoteClientConnection)
Top
Remarks

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.

See Also