Page 1 of 1

Playing Deluxe Ski Jump 2 with Nintendo Wiimote

Posted: 20 Nov 2010, 19:00
by cce

Today I tried to play DSJ 2 on my Nintendo Wiimote, and it actually works quite fine! The controller is connected with a Bluetooth dongle to my PC and I wrote a simple GlovePie script to play the game.

Here goes the GlovePie script:
// Deluxe ski jump 2 with Wiimote
// Left mouse button = Wiimote's B button
// Press right mouse button by moving Wiimote fast upwards
// You can move mouse when holding down the A button on the Wiimote and turning the controller
// - Pekka Väänänen 20.11.2010

debug =  Wiimote.Pitch
if > 3 then
     Mouse.Button2 = true
    Mouse.Button2 = false

Mouse.Button1= Wiimote.B

if Wiimote.A then
     Mouse.CursorPosY=   Mouse.CursorPosY + (Wiimote.Pitch / 180000000 )
     Mouse.CursorPosX=   Mouse.CursorPosX + (Wiimote.Roll / 180000000 )
You can download GlovePie here.