Standard Controller (WPAD) API Function List

Initialization

WPADInit Initializes the WPAD library.
WPADGetStatus Gets the usage status of the library.
WPADEnableWiiRemote Enables or disables all Wii remote functionality.

Connection

WPADSetConnectCallback Registers the callback function that is called when the Wii remote for the specified channel is connected or disconnected.
WPADDisableBluetooth Sets whether the Wii U console will accept a connection from a Bluetooth controller (Wii remote, Wii U Pro Controller, or Wii Balance Board).
WPADDisconnect Disconnects the controller for the specified channel.

Controller Data

WPADRead Gets the most recent controller status of the Wii remote of the specified channel.
WPADSetAutoSamplingBuf Registers a buffer to store the controller status of the Wii remote for the specified channel each time data is received (about once every 5 milliseconds).
WPADGetLatestIndexInBuf Obtains the index of the ring buffer where the most recent standard controller status is stored.
WPADSetSamplingCallback Registers a callback function that is called each time data is received from the Wii remote (about every 5 milliseconds) at the specified channel.
WPADSetDataFormat Specifies the data format type of the received data. Some time is required before the received data format is changed.
WPADGetDataFormat Gets the data format type of the received data.
WPADSetConnectCallback Registers the callback function that provides notification when a Wii Remote or Wii Balance Board is connected or disconnected to the specified channel.

Pairing

WPADSetClearDeviceCallback Sets the callback called when all the device information is completely deleted.
WPADStartSyncDevice Begins the pairing process required to use the Wii remote.
WPADCancelSyncDevice Cancels the pairing process.
WPADIsBusyForSync Check if the system is busy because it is proceeding the pairing process.
WPADSetSyncDeviceCallback Sets the callback called when SYNCHRO is pressed and when pairing is completed. If no callback is set, WPADStartSyncDevice is automatically called.
WPADGetRegisteredDevNum Gets the number of Wii remotes paired with the Wii U console.

Status

WPADGetInfo Gets the current information of the Wii remote.
WPADGetInfoAsync Gets the current information of the Wii remote.
WPADProbe Checks the specified channel's status and controller type.
WPADGetAddress Gets the unique ID of the Wii remote for the specified channel.
WPADGetRadioSensitivity Gets the radio sensitivity of the Wii remote on the specified channel.
WPADGetBatteryLevel Read the battery level of Wii remote, Wii U Pro controller or Wii Balance Board.

Accelerometer

WPADGetAccGravityUnit Gets the per-unit quantity of gravity acceleration for the Motion Sensor for either the Wii remote or the Nunchuk for the specified channel.
WPADClampAcc Clamps the motion sensor inputs of the Nunchuk and the Wii remote.

DPD

WPADControlDpd Controls the DPD for the Wii remote of the specified channel.
WPADIsDpdEnabled Determines whether the DPD for the Wii remote for the specified channel is working.
WPADGetDpdFormat Gets the data format of the DPD of the Wii remote on the specified channel.
WPADGetDpdSensitivity Gets the sensitivity of the DPD of the Wii remote on the specified channel.
WPADGetSensorBarPosition Determines whether the sensor bar is placed above or below the television.

Wii MotionPlus

WPADIsMplsAttached Determines whether Wii MotionPlus is connected to a Wii remote.
WPADIsMplsIntegrated Determines whether connected device is Wii Remote or Wii Remote Plus.
WPADGetCalibrationStatus Determines whether Wii MotionPlus need to be recalibrated.

Motor

WPADStartMotor Starts the Rumble Feature on the Wii remote of the specified channel.
WPADStopMotor Stops Rumble Feature on the Wii remote for the specified channel.
WPADControlMotor Controls the Rumble Feature of the Wii remote for the specified channel.
WPADIsMotorEnabled Gets the current ON/OFF status of the Rumble Feature of the Wii remote.

Speaker

WPADControlSpeaker Controls the speaker of the Wii remote Control on the specified channel.
WPADIsSpeakerEnabled Determines whether the speaker of the Wii remote on the specified channel is operational.
WPADGetSpeakerVolume Gets the volume of the Wii remote speaker.
WPADSendStreamData Sends audio data to the Wii remote on the specified channel.
WPADCanSendStreamData Determines whether audio data can be sent to the Wii remote on the specified channel.

Analog stick

WPADClampStick Clamps analog stick input of the Nunchuk and the Classic Controller.

Extension

WPADControlExtGimmick Controls the gimmicks (mechanisms) of the external extension controller plugged into the Wii remote of the specified channel.
WPADSetExtensionCallback Registers the callback function that is called when an external extension controller is inserted or removed from a Wii remote on the specified channel.

Wii U Pro Controller

WPADEnableURCC Notify the WPAD lib that it the application supports URCC.

Wii Balance Board

WPADEnableWBC Notify the WPAD lib that the application supports WBC.
WPADControlBLC Controls the specified Wii Balance Board.
WPADGetBLCalibration Gets the calibration values for the specified Wii Balance Board.
WPADIsRegisteredBLC Determines whether a Wii Balance Board has been paired with the Wii U console.

Auto Sleep

WPADSetAutoSleepTime Sets the timeout for automatically disconnecting a Wii remote that is not sending input to the Wii U console.
WPADGetAutoSleepTimeCount Gets the timer for automatic disconnection.
WPADResetAutoSleepTimeCount Resets the timer for automatic disconnection.

Debug

WPADAttachDummyExtension Changes the Wii remote device type for the specified channel without actually plugging in an external extension controller to the Wii remote assigned to the specified channel.
NOTE:
Only the debug version of the library can call this function.
WPADDetachDummyExtension For the Wii remote on the specified channel, changes the device type to WPAD_DEV_CORE.
NOTE:
Can be called only with the debug version of the library.
WPADEnableMotor Turns the Rumble Feature of the Wii remote on and off.
NOTE:
In product versions, do not call this function from applications other than the HOME Menu.

Struct

WPADInfo Structure for the Wii remote status.
WPADStatus Structure for the controller status of the Wii remote.
WPADStatusEx Structure for the controller status of the Wii remote including external DPD status.
WPADCLStatus Structure for the controller status of the Wii remote and Classic Controller.
WPADFSStatus Structure for the controller status of the Wii remote and Nunchuk.
WPADUCStatus Structure for the controller status of the Wii U Pro Controller.

Revision History

2014/01/23 Added WPADSetConnectCallback.
2014/01/23 Terminology fix.
2013/05/08 Automated cleanup pass.


CONFIDENTIAL