1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
Toad King cd5c88c5e4 relocate old python driver, add raw mode to C one 9 years ago
old relocate old python driver, add raw mode to C one 9 years ago
.gitignore add .gitignore 9 years ago
LICENSE Update LICENSE 9 years ago
Makefile add C port, supports hotplugging and multiple adapters (untested), rumble support not done yet 9 years ago
README.md relocate old python driver, add raw mode to C one 9 years ago
SDL_GameController.txt Remove AXIS notes, this will probably be fixed soon... 9 years ago
wii-u-gc-adapter.c relocate old python driver, add raw mode to C one 9 years ago

README.md

wii-u-gc-adapter

Tool for using the Wii U GameCube Adapter on Linux

Prerequisites

  • libudev
  • libusb(x) >= 1.0.16

Building

Just run make. That's all there is to it!

Usage

Simply run the program. You'll probably have to run it as root in order to grab the USB device from the kernel and use the uinput interface. Both of these can be worked around with udev rules, which I'm currently too lazy to add at the moment. To stop the program just kill it in any way you want.

Seperate virtual controllers are created for each one plugged into the adapter and hotplugging (both controllers and adapters) is supported.

Quirks

  • It's new, so there might be bugs! Please report them!
  • The uinput kernel module is required. If it's not autoloaded, you should do so with modprobe uinput
  • If all your controllers start messing with the mouse cursor, you can fix them with this xorg.conf rule. (You can place it in a file in xorg.conf.d)
  • Input ranges on the sticks/analog triggers are scaled to try to match the physical ranges of the controls. To remove this scaling run the program with the --raw flag.
Section "InputClass"
        Identifier "Wii U GameCube Adapter Blacklist"
        MatchProduct "Wii U GameCube Adapter Port "
        Option "Ignore" "on"
EndSection