| View previous topic :: View next topic |
| Author |
Message |
Secretcow
Joined: 11 Feb 2007 Posts: 1
Digg It |
Posted: Sun Feb 11, 2007 11:23 pm Post subject: Znes Classic Controller Script |
|
|
// directions on the D-pad
Up = Wiimote.Classic.Up
Down = Wiimote.Classic.Down
Left = Wiimote.Classic.Left
Right = Wiimote.Classic.Right
// middle buttons
RShift = Wiimote.Classic.Minus
Enter = Wiimote.Classic.Plus
// buttons
x = Wiimote.Classic.a
z = Wiimote.Classic.b
s = Wiimote.Classic.x
a = Wiimote.Classic.y
d = Wiimote.Classic.L
c = Wiimote.Classic.R |
|
| Back to top |
|
 |
TylerK

Joined: 18 Dec 2006 Posts: 384 Location: Springfield, IL
Digg It |
Posted: Mon Feb 12, 2007 3:32 am Post subject: |
|
|
Here's another one for maximum fun.
| Code: | /*
ZSNES Emulator Script
by TylerK
*/
// D-pad
Up = Wiimote1.Classic.Up
Down = Wiimote1.Classic.Down
Left = Wiimote1.Classic.Left
Right = Wiimote1.Classic.Right
// Buttons
A = Wiimote1.Classic.a
B = Wiimote1.Classic.b
X = Wiimote1.Classic.x
Y = Wiimote1.Classic.y
L = Wiimote1.Classic.L
R = Wiimote1.Classic.R
RightShift = Wiimote1.Classic.Minus
Enter = Wiimote1.Classic.Plus
Escape = Wiimote1.Classic.Home
// Save states and speed buttons, might have to set these up in the
// control config menu in ZSNES.
F5 = Wiimote1.Classic.ZL // save state
F7 = Wiimote1.Classic.ZR // load state
K = (Wiimote1.Classic.Joy1X > 0.7) // fast forward
H = (Wiimote1.Classic.Joy1X < -0.7) // rewind
// Toggle slow motion
if (Pressed(Wiimote1.Classic.Joy1Y > 0.7)) then
Key.J = !Key.J
endif |
|
|
| Back to top |
|
 |
|