Code Monkey home page Code Monkey logo

roadii's Introduction

Roadii

Automatic Linux Wii guitar remapping using evsieve

Requirements

This is built with SteamOS as its primary consumer. Specifics will differ per distro. I develop in an Arch Linux container using Distrobox.

  • Rust
  • libudev (in core/systemd-libs on Arch Linux)
  • evsieve
    • libevdev (in libevdev on Arch Linux)
  • pkg-config (in pkgconf on Arch Linux)

Arch Linux one-liner

sudo pacman -S rust systemd-libs libevdev pkgconf

Hardware

This is tested with a Wii MotionPlus Wiimote, and a Guitar Hero World Tour guitar. It should work with the other Guitar Hero Wii guitars (which have a slot for a Wiimote), and other Wiimotes, as long as both are recognised by the Linux kernel, though they have not been tested.

Setup

Provided in the etc folder are an example udev rule and systemd service to automatically run Roadii when a supported Wii guitar controller is connected. This presumes you are using SteamOS, adapting to other Linux systems is left as an exercise for the reader.

  1. Install roadii and evsieve executables to /home/deck/bin
  2. Copy etc/systemd/system/[email protected] to /etc/systemd/system, and etc/udev/rules.d/99-roadii.rules to /etc/udev/rules.d.
  3. Reload the udev rules with sudo udevadm control --reload

Now you're ready to connect your Wii guitar via Bluetooth!

Usage

With the udev rules and systemd service configured, the guitar will appear as several devices; ignore any which mention Nintendo, as evsieve has taken exclusive access to them - the one you care about now is simply called "Wiitar".

It's configured to match a PlayStation 3 guitar controller as closely as possible, providing a reasonble mapping for both navigating SteamOS, emulators, and your game of choice.

Caveats

  • Only one connected Wii guitar controller is supported

roadii's People

Contributors

ticky avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.