// Wiimote Advanced Windows Media Player 11 Control // Version 1.0 // Created By PhoenixBF // Windows Media Player must be the front window while using this! // // WiiMote Controls: //--------------------------------------- // A = Play/Pause // B = Modifier, use in combo with Roll/Pitch gestures // Home = Mute // B + Pitch = Adjust Volume! (Down: Volume down, Up: Volume up) // B + Roll = Switch Track! (Left: previous, Right: next) var.xOffset = 0 var.yOffset = -32 var.zOffset = 0 var.xRot = Wiimote.RawForceX + var.xOffset var.yRot = Wiimote.RawForceY + var.yOffset var.zRot = Wiimote.RawForceZ + var.zOffset // Debug debug = "X=" + var.xRot + " Y=" + var.yRot + " Z=" + var.zRot // Pitching up and down increase/decrease Volume if var.zRot > 10 and Wiimote.B then F9 = true F8 = false Wiimote.Led1 = false Wiimote.Led2 = false Wiimote.Led3 = true Wiimote.Led4 = true else if var.zRot < -10 and Wiimote.B then F8 = true F9 = false Wiimote.Led1 = true Wiimote.Led2 = true Wiimote.Led3 = false Wiimote.Led4 = false else F9 = false F8 = false Wiimote.Led1 = false Wiimote.Led2 = false Wiimote.Led3 = false Wiimote.Led4 = false Wiimote.Mute = true endif // Rolling right/left let us switch track if var.xRot < -20 and Wiimote.B then Control && F = true Wiimote.Rumble = true wait 1000 ms elseif var.xRot > 20 and Wiimote.B then Control && B = true Wiimote.Rumble = true wait 1000 ms else Control && F = false Control && B = false Wiimote.Rumble = false Wiimote.Mute = true endif /* if Wiimote.Plus then Control && F = true else Control && F = false endif if Wiimote.Minus then Control && B = true else Control && B = false endif if Wiimote.A then Control && Key.P = true else Control && Key.P = false endif */ Control && F = Wiimote.Plus Control && B = Wiimote.Minus //CTRL && P = Wiimote.Home Control && Shift && B = Wiimote.Left Control && Shift && F = Wiimote.Right F7 = Wiimote.Home Control && Key.P = Wiimote.A Control && Shift && G = Wiimote.Up Control && Shift && S = Wiimote.Down Alt && Enter = Wiimote.one Control && H = Wiimote.two /* Wiimote.Led1 = false Wiimote.Led2 = false Wiimote.Led3 = false Wiimote.Led4 = false */