Note: For a detailed guide on setting up the Wii Remote as a mouse, refer to the Steam Community forums.
// 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. glovepie scripts wiimote
Do you need (pointing at the screen) or MotionPlus (tilting)? What game or app are you trying to control? Note: For a detailed guide on setting up
// 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) // Simple mouse script for Wiimote mouse
GlovePIE (Generic LabVIEW Open Virtual Emulator) scripts allow the Nintendo Wiimote to function as a HID device (mouse, keyboard, or joystick) on a PC. Below are common script types and setups derived from community sources. 1. Basic Wiimote Mouse Script (IR Pointer)
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.