GlovePIE Script for using the Wiimote in XBMC
#1
Hi there!

I just thought I would post the GlovePIE Script I'm using for my XBMC if ther's someone that are intrested in trying it.

This script is nothing fancy at all, feel free to use and modify. I realy dont know mouch about scripting or programing but atleast this one works. Nod


Quote:// iNDEPENDENT´s GlovePIE Script for XBMC for Windows
// Feel free to use and modify

// Navigate
// Wiimote D-pad
if Wiimote.B = false then
Key.Up = Wiimote.Up
Key.Down = Wiimote.Down
Key.Left = Wiimote.Left
Key.Right = Wiimote.Right
endif

// Info
// D-pad Up while holding B
if Wiimote.B = true then
Key.T = Wiimote.Up
endif

// ContextMenu
// D-pad Down while holdning B
if Wiimote.B = true then
Key.Menu = Wiimote.Down
endif

// Rewind
// D-pad Left wile holdning B
if Wiimote.B = true then
Key.R = Wiimote.Left
wait 100 ms
endif

// FastForward
// D-pad Right wile holdning B
if Wiimote.B = true then
Key.F = Wiimote.Right
wait 100 ms
endif

// Select
// Wiimote A
if Wiimote.B = false then
Key.Enter = Wiimote.A
endif

// Backspace
// Wiimote A while holding B
if Wiimote.B = true then
Key.Backspace = Wiimote.A
endif

// Escape
// Wiimote Home
if Wiimote.B = false then
Key.Escape = Wiimote.Home
endif

// FullScreen
// Wiimote Home while holding B
if Wiimote.B = true then
Key.Tab = Wiimote.Home
endif

// Volume Up/Down
// Wiimote Plus/Minus
if Wiimote.B = false then
Key.NumpadPlus = Wiimote.Plus
Key.NumpadMinus = Wiimote.Minus
endif

if Wiimote.B = true then
Key.F = Wiimote.Plus
Key.R = Wiimote.Minus
endif

// Stop
// Flicking the Wiimote left or right while holding B
if Wiimote.B = true then
Key.X = (Wiimote.RelAccX > 25) in m per s per s
endif

// Play/Paus
// Flicking the Wiimote up or down while holding B
if Wiimote.B = true then
Key.P = (Wiimote.RelAccY > 25) in m per s per s
endif
Reply
#2
Oh! And for those that doesen't know what GlovePIE does... basicly it translates button presses on you're Wiimote into keyboard or mouse buttons if you've connected the Wiimote to you're computer properly. Nod
Reply
#3
Address for the software:

http://carl.kenner.googlepages.com/glovepie_download

Free ofc.
Reply
#4
Whats the battery life look like for a Wii mote being used like that? Seems like the blinking lights would kill it.
Reply

Logout Mark Read Team Forum Stats Members Help
GlovePIE Script for using the Wiimote in XBMC0