Posts Tagged ‘Wiimote’

Wii Guitar

Monday, December 31st, 2007

I’ve just gotten Guitar Hero 3 for Wii (despite not having a Wii). The Guitar controller connects to my wiimote, and then I can use the bluetooth built in to my laptop to play Frets on Fire with a guitar-like thing. Awesome fun, and very Linux friendly. Debian and Ubuntu users can just apt-get the cwiid driver (you need the wminput package) and use the configuration from here:

# wiiguitar profile for FOF
Classic.Down=KEY_ENTER #Strum
Classic.Dpad.X = ABS_X
Classic.Dpad.Y = ABS_Y
Classic.LStick.X = ABS_HAT0X
Classic.LStick.Y = ABS_HAT0Y
Classic.RStick.X = ABS_HAT1X
Classic.RStick.Y = ABS_HAT1Y
Classic.A = KEY_F1 #First Fret starting at top of wiiguitar
Classic.B = KEY_F2 #Second Fret
Classic.X = KEY_F3 #Third Fret
Classic.Y = KEY_F4 #Forth Fret
Classic.Minus = BTN_SELECT
Classic.Plus = BTN_START
Classic.Home = BTN_MODE
Classic.L = BTN_TL
Classic.R = BTN_TR
Classic.ZL = KEY_F5 #Fifth Fret
Classic.ZR = BTN_TR2

I have that saved as ~/.fof and just run sudo wminput -c ~/.fof before i start frets on fire. Fun!

Back to practicing!

WMD Driver

Monday, January 22nd, 2007

Just did an svn up on wmd-trunk, which is the subversion tree for the linux wiimote driver. Things have been progressing nicely since I last checked on it.. and there is now an interesting little ball demo. Still a long way to go before I can use it to play CSS, methinks. But it shouldn’t be long before we have Wiimote pong or something similar :D
If you have a bluetooth dongle and a Wiimote sat doing nothing then go check it out!

Wiimote!

Saturday, December 16th, 2006

So today I went to the cinema. Two cinemas, actually. Neither had Tenacious D showing. Quite annoying! So I went shopping… what a waste of time. Couldn’t find anything I wanted. The only present I got was a wiimote for myself! It was a bit of a gamble because i’d never actually gotten my bluetooth dongle working and i wasn’t sure how much i’d need the “sensor bar”. Well after a tiny bit of googling (and downloading, and installing a few bits) i was presented with this message:

Looking for Wiimote services at address XX:XX:XX:XX:XX:XX
Victory! We have found that Wiimote!
We are now connected to Wiimote at address XX:XX:XX:XX:XX:XX

It then buzzed me and flashed a bit :D So far the driver plots a graph of my movements but without IR it can’t be used for mouse stuff… so far. The code is python though, so i’ve already had a play at hacking on it.