From WiiLi
/*
__ __.__.__ __
/ \ / \__|__| _____ _____/ |_ ____
\ \/\/ / | |/ \ / _ \ __\/ __ \
\ /| | | Y Y ( <_> ) | \ ___/_
\__/\__/ |__|__|__|_|__/\____/|__| \_____/
_______________________________
|MAME V0.9X GlovePIE Script V0.3|
|________|By Pertmywert|________|
Customize to your button configuration.
Turn remote on side like a NES controller.
D-Pad - Moving
+ - Insert Coin
Home - Start Game
1 - Button 1
2 - Button 2
A + B + + = Escape (Unquote line 32 & 48 if wanted)
The same controls for 2nd player.
*/
debug = "<> Welcome to the GlovePIE MAME script Version 0.3 <>"
// Player 1
// Directions
key.Up = Wiimote1.Right
key.Right = Wiimote1.Down
key.Down = Wiimote1.Left
key.Left = Wiimote1.Up
// Buttons
key.LeftCtrl = Wiimote1.One //left ctrl
key.LeftAlt = Wiimote1.Two // left alt
// Credit
key.5 = Wiimote1.Plus
// Start Game
key.1 = Wiimote1.Home
// Exit (remove // if wanted)
//ESC = Wiimote1.B + Wiimote1.A + Wiimote1.Minus
// Player 2
// Directions
key.R = Wiimote2.Right
key.G = Wiimote2.Down
key.D = Wiimote2.Left
key.F = Wiimote2.Up
// Buttons
key.A = Wiimote2.One //left ctrl
key.S = Wiimote2.Two // left alt
// Credit
key.6 = Wiimote2.Plus
// Start Game
key.2 = Wiimote2.Home
// Exit (remove // if wanted)
//Alt+F4 = Wiimote2.B + Wiimote2.A + Wiimote2.Minus
//Edit From Cyclon Script by Klipart13
if true then
wiimote.Leds = 1
wait 200ms
wiimote.Leds = 1+2
wait 75ms
wiimote.Leds = 2
wait 200ms
wiimote.Leds = 2+4
wait 75ms
wiimote.Leds = 4
wait 200ms
wiimote.Leds = 4+8
wait 75ms
wiimote.Leds = 8
wait 200ms
wiimote.Leds = 0
wait 3s
endif
// End of Script