shared files for hid support
Go to file
2018-06-19 17:39:20 +02:00
include/controller_patcher Adopt header changes for the kpad.h and wpad.h 2018-06-19 17:39:20 +02:00
source Adopt header changes for the kpad.h and wpad.h 2018-06-19 17:39:20 +02:00
.gitattributes 💥🐫 Added .gitattributes & .gitignore files 2016-04-25 20:21:54 +02:00
.gitignore First commit of the wut branch. 2018-06-17 20:33:39 +02:00
.travis.yml First commit of the wut branch. 2018-06-17 20:33:39 +02:00
CMakeLists.txt First commit of the wut branch. 2018-06-17 20:33:39 +02:00
README.md First commit of the wut branch. 2018-06-17 20:33:39 +02:00

Build Status

What is in this controller_patcher repository

These files are the magic behind tools like HID to VPAD and can used to use your USB HID Device on your WiiU console.

How to create config files

Detailed information about creating config files and adding support for more controller can be found in the wiki

Where can I find config files

Configfiles for all controllers are collection in this repository

Logging usage

To able to use the logging change the "DO_LOGGING" parameter in the Makefile.

Compiling

You need to install all dependencies first!

Install this static library into your wut folder via:

mkdir build && cd build
cmake -DCMAKE_TOOLCHAIN_FILE=$WUT_ROOT/share/wut.toolchain.cmake -DCMAKE_INSTALL_PREFIX=$WUT_ROOT ../
make install

Link the application with

-lutilswut -lcontrollerpatcherwut

You also need to add the include path to your Makefile. Example:

export INCLUDE	:= [...] -I$(WUT_ROOT)/include

Dependencies

  • libutils (WUT branch) for common functions.
  • wut (WUT branch) for common functions.

Example implementation

How to "install" it

TODO!

ControllerPatcher::Init(NULL); //No custom configuration
ControllerPatcher::disableControllerMapping();
ControllerPatcher::startNetworkServer();
ControllerPatcher::DeInit();
ControllerPatcher::stopNetworkServer();

Credits:

  • Maschell
  • FIX94 - huge thanks to him and his initally created gc-to-vpad. Was a motivation and base to start all this