shared files for hid support
Go to file
Mark J.F. Teunissen 7ea483e70f
Update README.md
Added docker info to readme file.
2018-12-26 17:22:02 +01:00
docker Create Dockerfile 2018-12-26 16:59:56 +01:00
source Simplified the code by using the TCPServer from libutils 2018-03-07 18:42:36 +01:00
.gitattributes 💥🐫 Added .gitattributes & .gitignore files 2016-04-25 20:21:54 +02:00
.gitignore Transforming it into a static lib 2017-10-29 09:34:47 +01:00
.travis.yml [Travis] Only reinstall packages if updated. 2018-05-26 16:29:48 +02:00
docker-compose.yml Update docker-compose.yml 2018-12-26 17:00:49 +01:00
Makefile [Travis] Updated the script to now use pacman, caching optimization 2018-05-26 12:55:57 +02:00
README.md Update README.md 2018-12-26 17:22:02 +01: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 either need to install all dependencies first! Or use the provided docker configuration.

Start the docker container by running: docker-compose up When this container is running you'll be able to run the rest of the command below inside this container. This container will have all dependencies required to be able to make and make install the app:

  • devkitpro/devkitppc
  • libutils
  • dynamic_libs

Install this static library into your portlibs folder via:

make && make install

Link the application with

-lutils -ldynamiclibs -lcontrollerpatcher

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

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

Dependencies

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