Note: For a detailed guide on setting up the Wii Remote as a mouse, refer to the Steam Community forums.
Do you need (pointing at the screen) or MotionPlus (tilting)? What game or app are you trying to control? glovepie scripts wiimote
// Simple mouse script for Wiimote mouse.CursorPosX = smooth(1024-round((((wiimote1.dot1x+wiimote1.dot2x)/2)/1024)*1024),3) mouse.CursorPosY = smooth(round((wiimote.dot1y/784)*768),3) mouse.LeftButton = Wiimote.B mouse.RightButton = Wiimote.A Use code with caution. Copied to clipboard 2. Wiimote + Nunchuk FPS Script (Keyboard/Mouse) Note: For a detailed guide on setting up
// Movement + Nunchuk keyboard.w = Wiimote.Nunchuk.JoyY < -0.5 keyboard.s = Wiimote.Nunchuk.JoyY > 0.5 mouse.CursorPosX = smooth(1024-round((((wiimote1.dot1x+wiimote1.dot2x)/2)/1024)*1024),3) mouse.LeftButton = Wiimote.Nunchuk.ButtonZ Use code with caution. Copied to clipboard 3. Wiimote Accelerometer Steering Script Uses tilt (accelerometer) for steering in racing games. // Simple mouse script for Wiimote mouse
This script turns the Wiimote into an air mouse using the IR camera, requiring a sensor bar or two candles.
Maps movement to the Nunchuk stick and camera control to the IR pointer, ideal for shooters.