Swkbd.rpl

Revision as of 05:46, 28 August 2016 by QuarkTheAwesome (talk | contribs) (Start documenting a few basic swkbd functions; just what IDA says really)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

swkbd.rpl is the system library that allows applications to use the Wii U's on-screen keyboard. It is one of the only libraries to export C++ functions; thus it isn't known how to use them in homebrew at this point.

Functions

All the swkbd functions are C++ functions in the namespace Rpl::. To export them with OSDynLoad, you have to use their C symbol names (as listed).

Prototype Symbol name (5.5.1) Description Reverse-Engineering Notes
SwkbdCreate(unsigned char* a, nn::swkbd::RegionType b, unsigned int c, FSClient* d) SwkbdCreate__3RplFPUcQ3_2nn5swkbd10RegionTypeUiP8FSClient Sets up a structure in memory Returns some kind of pointer, does not appear to be the structure
void SwkbdDestroy() SwkbdDestroy__3RplFv No return value.