This package adds support for the Nintendo Gamecube controller Adapter to Unitys new input system. Works with the original Nintendo adapter and the Mayflash Adapter in Wii U mode. It uses a C++ Library (source located in /Plugin-source) which uses libusb-1.0 The binaries for the plugin are in Assets/Plugin but you can also compile them yourself if you wish (you will have to edit the cmakelist.txt so that it finds your installation of libusb).
- Use Zadig to install the required custom driver as described here
Coming soon (maybe).
Add to your manifest.json:
"dependencies": {
"com.nfysoft.gamecubecontroller": "git@github.com:enfyy/Unity-GameCubeController.git"
}
- Put the GamecubeControllerAdapter script on any game object in your scene.
- Use the controller as you would use any other controller with Unitys input system.