How to Use a Wiimote As Your Computer's Mouse

Introduction: How to Use a Wiimote As Your Computer's Mouse

Ever wondered what cool things you can do with a Wiimote? If so, this is definitely where you should start- using it as a mouse!

Step 1: Step 1: Materials

1. A Wiimote (of course)
2. WiiMotionPlus (actually is built into some new Wiimotes!)
3. Bluetooth Connectivity
4. Glove_Pie and my custom Wiimote program
5. A Wii Nunchuk

NOTE: If the .PIE files are downloaded as .TMPs, you'll need to donwload them in (I hate to say this..) Internet Explorer and copy the text into Glove_PIE.

Step 2: Step 2: Program

First, download the files from step 1 (no viruses, I promise!) and open the Win-Zip file. Save all the contents to your computer. Run the Glove_Pie application. Save the WiiMotionPlus Mouse file to your computer and open it with Glove_Pie.

Step 3: Step 3: Wiimote

Connect the WiiMotionPlus and Nunchuk to the Wiimote. Next, open your Bluetooth software. On Windows Vista and newer, just type "Bluetooth" in the start menu search bar. Click on "Bluetooth Devices". Press 1 and 2 together on your Wiimote and click "Add New Device". Keep pressing 1 and 2 until your computer lists the Wiimote as a device to install. Select the device. At the next screen, click "Don't Use Passkey" and hit "Next". Your computer will install the Wiimote as a usable device.

Step 4: Step 4: Connect!

Once the Wiimote is connected, open the Glove_Pie program and place the Wiimote flat on your work surface. Hit 1 and 2 on the Wiimote and click "Run" on Glove_Pie. The 1 and 4 lights on the Wiimote should light up. Once the 2 and 3 lights are lit, it is ready to use.

Step 5: Step 5: Controls

Ignore what Glove_Pie says about the controls.
Hold B and move the remote to move the cursor.
A is left click.
+ is right click.
- is Esc.
Home opens the Start Menu
1 is Space
2 is Enter
The Nunchuk control stick acts as the arrow keys.

Step 6: Step 6: Updates....

As I create new versions of this, I will post downloads here...
1. Wiimote N64 acts as a controller for the Project64 emulator. Controls are listed in the program.
2. StarWarsPodRacerTurntable lets you play Star Wars Episode I- Racer with a DJ Hero turntable. The green, red, and plus buttons are used, along with the control stick and record rotation.
3. StarWarsPodRacerNunchuk lets you play Star Wars Episode I- Racer using two Nunchuk control sticks, the Z and C buttons, and the Wiimote D-pad. (http://www.coolrom.com/roms/n64/1532/Star_Wars_Episode_I_-_Racer.php) 
4. This lets you use a Wii Classic Controller with Project64. Configure Project64 so that A=A, B=B, Z=Z, Start=Enter, Select=Shift, Control Stick=Arrow Keys, and D-Pad=E,S,D,F.

Be the First to Share

    Recommendations

    • Pi Day Speed Challenge

      Pi Day Speed Challenge
    • Trash to Treasure Contest

      Trash to Treasure Contest
    • Microcontroller Contest

      Microcontroller Contest

    29 Comments

    0
    soniiiety
    soniiiety

    9 days ago

    someone please help me with this! it wont work do I need a ir bar? and does the wii mote have to have wiimotinplus built in for this to work? or just i need extension??? uriahdyson41@gmail.com please email me if you know how to do this

    0
    patrickswoolery13
    patrickswoolery13

    Tip 11 months ago

    I added a bit of code to make the mouse less jerky. It just ignores any input that is too little to matter, so it doesn't constantly drift and jerk.

    var.InputTolerance = 15 //this line goes below the other variable

    var.YawSpeed = wiimote.MotionPlus.YawSpeed
    if wiimote.MotionPlus.YawSpeed < var.InputTolerance and wiimote.MotionPlus.YawSpeed > -var.InputTolerance {
    var.YawSpeed = 0
    }
    var.PitchSpeed = wiimote.MotionPlus.PitchSpeed
    if wiimote.MotionPlus.PitchSpeed < var.InputTolerance and wiimote.MotionPlus.PitchSpeed > -var.InputTolerance {
    var.PitchSpeed = 0
    }

    I'm not sure why all the drifting was going on, but this did a decent job of fixing it. Try this out if you're having issues, adjust the InputTolerance variable to suit. While holding still the cursor will stay still, I am not sure how to fix the jerkiness while moving. Smooth, controlled movements work well though. If your cursor goes directly to one corner this might fix it.

    One issue is that this makes fine adjustments almost impossible.

    0
    SOMEP1
    SOMEP1

    2 years ago

    when i hold down the movement key the cursor mostly stays in the bottom left corner of the screen. how do i fix this

    0
    julianp73
    julianp73

    3 years ago

    broken. controller turns off when the middle lights are on for 3 seconds. seems that i didnt had to order the adapter because it desnt work or is there something i am doing wrong because i did read the instruction and did exactly everything

    0
    ThomasM6
    ThomasM6

    6 years ago on Introduction

    Can't do it..... It always tells me to enter a password :/

    0
    ThomasM6
    ThomasM6

    6 years ago on Introduction

    Can't do it..... It always tells me to enter a password :/

    I know you uploaded this a while ago and might not answer, but I'm having some trouble with this. I'm doing everything right (I think), but GlovePie says "WiiMotion Plus NOT DETECTED!" even though I opened the file you said to (the one you download from the instructable page). What am I doing wrong?

    0
    Derpancakes
    Derpancakes

    Reply 7 years ago on Introduction

    Are you sure the Wiimote is paired with your computer?

    0
    twesch
    twesch

    8 years ago on Introduction

    I cant get GlovePie to recognize My Wiimote with motion plus and nunchuck

    0
    spamattakky
    spamattakky

    9 years ago on Introduction

    Don't you need to use the ir bar, or does the screen acts as a light source?

    0
    Derpancakes
    Derpancakes

    Reply 9 years ago on Introduction

    It reads the output from the MotionPlus sensor, so you don't need an ir bar.

    0
    Acorn51
    Acorn51

    9 years ago on Introduction

    The PIE file still is a .temp, the link even leads to a temp. when i get the address
    . Please help!

    0
    Derpancakes
    Derpancakes

    Reply 9 years ago on Introduction

    If you copy the text into glove_pie, it works too.

    0
    Acorn51
    Acorn51

    Reply 9 years ago on Introduction

    Ah, I found out how. I opened it with Notepad and c&p'ed it.

    0
    finfan7
    finfan7

    10 years ago on Introduction

    all the files are .tmp files not .pie or .exe. Would you mind finding out what's wrong or just reuploading them? I'd like to try this out.

    0
    Derpancakes
    Derpancakes

    Reply 10 years ago on Introduction

    OK... I fixed it.. I even tested it this time... sorry for the problems.

    0
    finfan7
    finfan7

    Reply 10 years ago on Introduction

    Thank you for your quick response but it seems the problem must be on my end or in instructables. The exe is a zip now but the other two are still tmp. Thanks all the same.

    0
    Derpancakes
    Derpancakes

    Reply 10 years ago on Introduction

    oh... the other two... i didnt even thin k about those! sorry... ill fix it asap!!