Hack and / - Wiimote Control

 in
Why let your Wii have all the fun? Find out how to connect your Wiimote to your computer and use it as a mouse or an input device for any number of popular gaming emulators.
______________________

Kyle Rankin is a systems architect; and the author of DevOps Troubleshooting, The Official Ubuntu Server Book, Knoppix Hacks, Knoppix Pocket Reference, Linux Multimedia Hacks, and Ubuntu Hacks.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Switching?

Thad Boyd's picture

Okay, so you've got a script for fceu, one for snes9x, etc. That's cool, but it seems that you have to restart wminput manually every time you want to switch config files, which really inhibits its usefulness as a remote control for an HTPC. I'd like to be able to use my remote to select an NES game in my MythGame list, then turn it sideways and use it as an NES controller -- without resorting to hacks like, say, setting the Up arrow key to work as Left on the NES D-Pad, or setting up a shell script that restarts wminput with a different config file and then launches the program (but requires me to re-pair).

Doesn't look like there are any plugins as yet to let the program reload the config file when a certain program is launched, but please correct me if I'm wrong.

Key Combo?

Rob's picture

is it possible to use key combinations for this? CTRL+ALT+LEFT ARROW

And what about Slackware?

Dr Who's picture

Did anyone think of trying this on Slackware? Either 11.0 or 12.1 or Current.

Re:Did anyone think of trying this on Slackware? Either 11.0 or

Dr Who's picture

Well it works after remembering to reset the BT dongle. Slackware is stil the best OS for the enterprise.

Ubuntu Intrepid

Anonymous's picture

Works great on Ubuntu Hardy, but has anyone got it to work on Ubuntu Intrepid?

something to do with uinput version...?

Gens Control

schwieb's picture

I don't even have a Wii and I had to buy one of these controllers! They are totally awesome!

Though this may be sacrilegious, in addition to the NES emulators I use mine with the Sega emulator Gens. Here is my configuration!

# Wiimote Gens
Wiimote.A = KEY_F5
Wiimote.B = KEY_F5
Wiimote.Up = KEY_LEFT
Wiimote.Down = KEY_RIGHT
Wiimote.Left = KEY_DOWN
Wiimote.Right = KEY_UP
Wiimote.Minus = KEY_TAB
Wiimote.Plus = KEY_ESC
Wiimote.Home = KEY_ENTER
Wiimote.1 = KEY_A
Wiimote.2 = KEY_S

Thanks for the article.

White Paper
Linux Management with Red Hat Satellite: Measuring Business Impact and ROI

Linux has become a key foundation for supporting today's rapidly growing IT environments. Linux is being used to deploy business applications and databases, trading on its reputation as a low-cost operating environment. For many IT organizations, Linux is a mainstay for deploying Web servers and has evolved from handling basic file, print, and utility workloads to running mission-critical applications and databases, physically, virtually, and in the cloud. As Linux grows in importance in terms of value to the business, managing Linux environments to high standards of service quality — availability, security, and performance — becomes an essential requirement for business success.

Learn More

Sponsored by Red Hat

White Paper
Private PaaS for the Agile Enterprise

If you already use virtualized infrastructure, you are well on your way to leveraging the power of the cloud. Virtualization offers the promise of limitless resources, but how do you manage that scalability when your DevOps team doesn’t scale? In today’s hypercompetitive markets, fast results can make a difference between leading the pack vs. obsolescence. Organizations need more benefits from cloud computing than just raw resources. They need agility, flexibility, convenience, ROI, and control.

Stackato private Platform-as-a-Service technology from ActiveState extends your private cloud infrastructure by creating a private PaaS to provide on-demand availability, flexibility, control, and ultimately, faster time-to-market for your enterprise.

Learn More

Sponsored by ActiveState