Playing Deluxe Ski Jump 2 with Nintendo Wiimote

General discussion about the PC version of DSJ2.
Post Reply
cce
Posts: 1
Joined: 20 Nov 2010, 18:53

Playing Deluxe Ski Jump 2 with Nintendo Wiimote

Post by cce »

Hello!

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 Wiimote.gy > 3 then
     Mouse.Button2 = true
else
    Mouse.Button2 = false
endif

Mouse.Button1= Wiimote.B

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