Wednesday, April 20, 2011

GlovePIE

Reference: http://www.joystiq.com/2007/06/12/revolutionary-introducing-glovepie/


GlovePIE is an easy-to-use application which, through the running of custom scripts, allows input from the Wii controllers to emulate another form of input, such as a keyboard or a mouse. Carl Kenner originally developed GlovePIE as a tool to get his P5 Glove to work however he wanted, in whatever programs he wanted, and with the advent of the Wii Remote, he saw that his program could be modified to support it as well. Through GlovePIE, the Wii Remote's buttons and D-pad, tilting and motions, or full gestures can be mapped to keyboard keys, mouse movements, or virtual joystick controls (more on this later).

Writing scripts for GlovePIE doesn't require any heavy programming experience – though having some doesn't hurt, either. It's designed to be user-friendly, and since it's rather lenient about syntax, it's easy for BASIC, Java, or C programmers to make the switch. But even if you've got no programming experience at all, there is still hope. There is a large community of GlovePIE scripters across the net, and many of them are willing to share some tips and code with novices. You can try to figure out how things work by picking apart some of the Wiimote scripts that come bundled with GlovePIE, but if it all reads like Martian to you, don't worry -- you can use the GUI and let GlovePIE bang out some script code for you. For instance, if you want to have the "Enter" key pressed whenever you shake the Nunchuk, simply shake the Nunchuk while GlovePIE is in detection mode, and then tell it to hit the "Enter" key for that motion. Writing a script really can be that easy!

No comments:

Post a Comment