Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Tool for using the Wii U GameCube Adapter on Linux

License

Notifications You must be signed in to change notification settings

Ertain/wii-u-gc-adapter

 
 

Repository files navigation

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
  • 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.
  • 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)
Section "InputClass"
        Identifier "Wii U GameCube Adapter Blacklist"
        MatchProduct "Wii U GameCube Adapter Port "
        Option "Ignore" "on"
EndSection

To properly run wii-u-gc-adapter when the adapter is plugged in, the following files have to be placed in certain directories.

The file 88-wii-u-gamecube-adapter.rules should be placed in /etc/udev/rules.d/. This starts the service wii-u-gc-adapter, which is started by the file, /etc/init.d/wii-u-gc-adapter (the wii-u-gc-adapter_init_script.sh file).

About

Tool for using the Wii U GameCube Adapter on Linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 69.5%
  • Python 23.1%
  • Shell 5.4%
  • Makefile 2.0%