You can press 1 and 2 to switch between the Joystick mode (you tilt the remote to act as a joystick) and Dpad mode where the Dpad represents the Arrow Keys.
Here is the text version:
//Written by Tom Jones
//
//Controls(set your emulator accordingly):
//Tilt Wiimote or Dpad = Arrow Keys
//B-Button = Z
//One-Button and Two-Button = switch between Joystick mode and Dpad mode
if var.Joystick = true then
Left = Wiimote.RawForceX >= 7.5
Right = Wiimote.RawForceX <=-7.5
Up = Wiimote.RawForceY >=7.5
Down = Wiimote.RawForceY <=-7.5
else
ArrowKeys = Wiimote.Dpad
endif
Z = Wiimote.B
Wiimote.Led1 = true
if Wiimote.One = true then
var.Joystick = true
endif
if Wiimote.Two = true then
var.Joystick = false
endif
Here is the Download version:
http://www.mediafire.com/?9ywox2xxmmm
Thanks for downloading my script
~Tom
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment