//Calibrate your Wiimote!//Place the Wiimote face up on a flat surface. Change these values until the//debug line next to the run button shows zero for each axis.var.xOffset = 4var.yOffset = -31var.zOffset = 6//Set your Wiimote LEDs to your liking. Binary value, 1-15var.leds = 6wiimote.leds = var.leds//Wait so a key isn't pressed millions of times a seccond!wait 0.1//Calibration Datavar.xRot = Wiimote.RawForceX + var.xOffsetvar.yRot = Wiimote.RawForceY + var.yOffsetvar.zRot = Wiimote.RawForceZ + var.zOffset////Arrow keys////Leftif wiimote.Left = trueLeft = trueLeft = Falseendif//Rightif Wiimote.Right = Trueright = trueright = falseendif//Upif Wiimote.Up = trueUp = trueUp = falseendif//Downif wiimote.Down = trueDown = trueDown = falseendifif wiimote.A = true thenEnter = trueelseEnter = Falseendifif wiimote.B = trueBackspace = trueelseBackspace = falseendif//Playif wiimote.2=trueCtrl+P=trueCtrl+P=falseendifif wiimote.Home= trueBackspace = trueBackspace = trueBackspace = trueBackspace = trueBackspace = trueelsebackspace = falseendifif Wiimote.1 =trueAlt+Enter = trueelseAlt+Enter = falseendifif (Wiimote.1 = true) + (Wiimote.2 = true)Alt+F4 = trueendif
Friday, 2 January 2009
Wii Projects
If you have a Nintendo Wii and want a new way to use it try some of the projects Johny Lee has made, from using it as an interactive whiteboard to a 3d display, the wiimote can be used for anything. The best way to get started is to download glovepie, you can quickly write applications for the wiimote with minimal efort. eg, here is a remote application for Windpws Media Centre.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment