Using a Wiimote as a mouse on Windows

Tomorrow, I’m doing a presentation/launch of my latest project – a point-and-click adventure game written and programmed by a group of 13-18 year olds. I was their game development mentor and taught them basic game design principles and a fairly complex language for the AGS engine. The results are really pleasing, but I wanted something to show off during the presentation.

At the theatre studio where the game has been developed, they have a projector. So, I came up with the idea of having the game playable using the Wiimote. Reasonably easy to setup assuming you have all the bits you need. However, the common Wiimote scripts are outdated and don’t work, so I’ve posted a newer one.

What you will need:

  1. First things first, install the Kensington Bluetooth stack. DON’T plug in your Bluetooth dongle until after the setup is done.
  2. Now, plug in and install your dongle.
  3. Open your Bluetooth Places (Should be accessible via a Bluetooth symbol on your taskbar)
  4. Add a new device and press the SYNC red button under the battery cover of your Wiimote.
  5. When prompted for a passcode, choose “connect without a passcode”. It may take a couple of goes to get it to connect to the computer.
  6. Setup and run GlovePIE.
  7. Download the script below and save it to your WiimoteScripts folder.
  8. Goto File->Open and load up this new script and press Run.

I cannot help you with specific enquiries about setting up Bluetooth for your particular dongle/computer. Personally, I’m using a brandless red thing I found in my drawer.

I can’t recall where the mouse script comes from, but I spent a long long time googling for it, as the top results give bad Wiimote scripts that don’t work.

WiiMouse Script

Common Problems:

  • The Wiimote keeps disconnecting from the PC
    • Just keep trying, the Wiimote will disconnect itself after a short while if it doesn’t hook into any actions. Make sure the GlovePIE script is running after connecting and it will remain connecting while in use.
  • When starting a game, the controls go really sensitive
    • You need to start GlovePIE when the computer is in the correct resolution. Set your computer’s resolution to the same as the game, start GlovePIE and then start the game.
Uncategorized

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>