Introduction: Using a Wii Remote to Control WMP on a PC
Have you ever wished you could control your music from the next room?
The Remote, (or controller) sold by Nintendo for there "Wii" gaming machine (or console) is almost perfect, and if you're like me you already have one.
The WiiMote uses Bluetooth to communicate with the system and many laptops are now sold with Bluetooth built in.
The only down side is that most are sold with a class 2 adapter that is only reliable from acros the room. But if you what to be able to use it anywhere in the house you can get a class 1 USB adapter for about $40 (check the parts list for a suitable unit).
Theoreticallyall the data going to and from the WiiMote goes through a usb port (my Bluetooth adapter may be internal but it's still USB)
The Remote, (or controller) sold by Nintendo for there "Wii" gaming machine (or console) is almost perfect, and if you're like me you already have one.
The WiiMote uses Bluetooth to communicate with the system and many laptops are now sold with Bluetooth built in.
The only down side is that most are sold with a class 2 adapter that is only reliable from acros the room. But if you what to be able to use it anywhere in the house you can get a class 1 USB adapter for about $40 (check the parts list for a suitable unit).
Theoreticallyall the data going to and from the WiiMote goes through a usb port (my Bluetooth adapter may be internal but it's still USB)
Step 1: Parts/Software
A short list of items you will need to continue.
WiiMote
PC running almost any version of windows, confirmed working on 2008r2 (same kernel as windows 7)
A Bluetooth adapter, the Linksys USBBT100 is the only class 1 unit I could find.
A copy of GlovePIE You have %100 Green power, right?
WiiMote
PC running almost any version of windows, confirmed working on 2008r2 (same kernel as windows 7)
A Bluetooth adapter, the Linksys USBBT100 is the only class 1 unit I could find.
A copy of GlovePIE You have %100 Green power, right?
Step 2: Bluetooth
To connect the WiiMote to your PC just hold the 1 and 2 buttons (making sure the Wii is off or far away or it will connect to that) and follow the steps bellow.
Step 3: GlovePIE
Okay after you get GlovePIE, extract it to a folder (on the desktop is convent, but if your a clean freak, better put it in your programs folder).
Then make a shortcut to GlovePIE.exe.
Open the program and past this:
//Adjust the wait time to you liking.
if wiimote.plus then
if var.up then
volumeup = true
wait 240 ms
volumeup = false
var.up = 0
else
volumeup = true
wait 60 ms
volumeup = false
endif
else
var.up = 1
endif
if wiimote.minus then
if var.down then
volumedown = true
wait 240 ms
volumedown = false
var.down = 0
else
volumedown = true
wait 60 ms
volumedown = false
endif
else
var.down = 1
endif
PlayPause = WiiMote.A
NextTrack = WiiMote.Right
PrevTrack = WiiMote.Left
The original (and shown below) isn't mine but I couldn't find the source.
I wasn't that happy with it so I made some new stuff, it provides a progressive feel.
Then make a shortcut to GlovePIE.exe.
Open the program and past this:
//Adjust the wait time to you liking.
if wiimote.plus then
if var.up then
volumeup = true
wait 240 ms
volumeup = false
var.up = 0
else
volumeup = true
wait 60 ms
volumeup = false
endif
else
var.up = 1
endif
if wiimote.minus then
if var.down then
volumedown = true
wait 240 ms
volumedown = false
var.down = 0
else
volumedown = true
wait 60 ms
volumedown = false
endif
else
var.down = 1
endif
PlayPause = WiiMote.A
NextTrack = WiiMote.Right
PrevTrack = WiiMote.Left
The original (and shown below) isn't mine but I couldn't find the source.
I wasn't that happy with it so I made some new stuff, it provides a progressive feel.
Step 4: Usage
GlovePIE is still experimental so this may not work on all systems but it's doesn't harm the PC ot WiiMote in anyway so mite as well give it a try.
Click run and open WMP, Please post if it works or not.
Left and right are to skip, A is Play/Pause Plus and Minus are volume.
Have fun and remember, if you like it rate and vote for it.
Click run and open WMP, Please post if it works or not.
Left and right are to skip, A is Play/Pause Plus and Minus are volume.
Have fun and remember, if you like it rate and vote for it.
Step 5: Extra
If you don't like the stock lighting scheme you can add the code:
var.KITTspeed = 120 ms
if 0 = 0 then
if var.kitt = 0 then
wiimote.Leds = 1
endif
if var.kitt = 1 then
wiimote.Leds = 3
endif
if var.kitt = 2 then
wiimote.Leds = 6
endif
if var.kitt = 3 then
wiimote.Leds = 12
endif
if var.kitt = 4 then
wiimote.Leds = 8
endif
if var.kitt = 5 then
wiimote.Leds = 12
endif
if var.kitt = 6 then
wiimote.Leds = 6
endif
if var.kitt = 7 then
wiimote.Leds = 3
endif
wait var.KITTspeed
var.kitt = (var.kitt + 1) % 8
endif
To make the lights emulate Kitt.
var.KITTspeed = 120 ms
if 0 = 0 then
if var.kitt = 0 then
wiimote.Leds = 1
endif
if var.kitt = 1 then
wiimote.Leds = 3
endif
if var.kitt = 2 then
wiimote.Leds = 6
endif
if var.kitt = 3 then
wiimote.Leds = 12
endif
if var.kitt = 4 then
wiimote.Leds = 8
endif
if var.kitt = 5 then
wiimote.Leds = 12
endif
if var.kitt = 6 then
wiimote.Leds = 6
endif
if var.kitt = 7 then
wiimote.Leds = 3
endif
wait var.KITTspeed
var.kitt = (var.kitt + 1) % 8
endif
To make the lights emulate Kitt.