The Human Interface Devices (HID) library provides an API to interface with USB HIDs connected to the Wii U console. The HID library performs attach/detach and asynchronous transactions for HID devices on the external USB bus.
This library is intended to be used for HID driver development by HID device manufacturers. Ensure that you have the appropriate licensing permissions from Nintendo before developing an HID driver.
To use this library, be familiar with the HID specification (USB Device Class Definition for Human Interface Devices (HID)).
To operate a HID device the application must:
HIDDeviceto perform transactions with the device.
HIDClientfunction to release the device.
HID automatically attach and detach devices to/from clients on process acquire and release foreground respectively. There is no more preparation required by the application other than the usual dynamic attach and detach processing. Ensure that application device references and resources are freed on detach.
All transaction data must be aligned and padded to
Build and run this program. Attach a USB keyboard or mouse to the CAT-DEV. See input in debug console.
This program performs the following.
HIDSetIdleand then kick off asynchronous reads for user input.
This program only accepts one instance each of mouse and keyboard and will not work with multiples.
2013/05/08 Automated cleanup pass.