Line 1:
Line 1:
−
nsyskbd.rpl is the system library that allows applications to use the Wii U's USB keyboard.
+
nsyskbd.rpl is the system library that allows applications to use USB keyboards plugged in the WiiU USB ports
−
== Functions ==
== Functions ==
Line 9:
Line 8:
|-
|-
|<code>char KBDSetup((void*)connection_callback,(void*)disconnection_callback,(void*)key_callback)</code>
|<code>char KBDSetup((void*)connection_callback,(void*)disconnection_callback,(void*)key_callback)</code>
−
|Initializes the USB keyboard library and return 0 if successfull; connection and disconnection callback are called repectively at the connection or disconnection of an usb keyboard; key callback is called when some key event occurs
+
|Initializes the USB keyboard library and return 0 if successfull; connection and disconnection callback are called repectively at the connection or disconnection of an usb keyboard; key callback is called when some key event occurs (2 times: press and release)
|-
|-
|<code>char KBDTeardown()</code>
|<code>char KBDTeardown()</code>
Line 21:
Line 20:
|-
|-
|}
|}
−
NOTE: Data Types could be wrong