wiiu gamepad input in wii homebrew with patched wii vc firmware
Go to file
FIX94 4e156201db
Update README.md
2017-10-28 22:44:04 +02:00
demo push version 2017-09-29 19:51:11 +02:00
include/wiidrc handle a couple more bits 2017-09-29 19:50:25 +02:00
source handle a couple more bits 2017-09-29 19:50:25 +02:00
LICENSE Initial commit 2017-09-13 23:59:27 +02:00
Makefile first commit 2017-09-14 00:11:40 +02:00
README.md Update README.md 2017-10-28 22:44:04 +02:00

README.md

libwiidrc

This is only usable with a special patched fw.img and homebrew injected into a WiiU VC title, details on the patches are below.
Most WiiU VC injector tools already contain the patches required for this, the patches below are only needed if you do it manually.
The usage is quite simple, call WiiDRC_Init on boot and after that call WiiDRC_ScanPads every time you update your pad inputs.
To check if the gamepad is ready to use, call WiiDRC_Inited and WiiDRC_Connected, if both are true its good to go.
The analog stick range goes from about -75 to 75 so make sure to scale it to whatever you need.
The battery status goes from 6 (full) down to 1 (critical), 0 meaning that it is currently charging.
See the "demo" folder for an example on how to use it in a bit more detail.
Both compiled Library and Demo can be grabbed from the Releases tab.

Patches

When building a WiiU VC file to install, use my nfs2iso2nfs fork with the "-homebrew -passthrough" command line options to patch the fw.img with all the required libwiidrc patches.