Difference between revisions of "GlovePIE"

From WiiBrew
Jump to: navigation, search
m
m
 
Line 15: Line 15:
 
}}
 
}}
  
It is a current "driver" for the Wii remote. Not many software packages can use a [[Wiimote]] input data so GlovePie works by taking input from one device (example Wiimote) and translates it into fake inputs from another input device (example mouse). It uses a language much like [http://en.wikipedia.org/wiki/BASIC_programming_language basic].
+
It is a current "driver" for the [[Wiimote]]. Not many software packages can use a Wiimote input data so GlovePIE works by taking input from one device (e.g. Wiimote) and translates it into fake inputs from another input device (e.g. mouse). It uses a language much like [http://en.wikipedia.org/wiki/BASIC_programming_language basic].
 
Example code:
 
Example code:
 
  Mouse.RightButton = Wiimote.A
 
  Mouse.RightButton = Wiimote.A
That code tells the computer this: when ever the Wii Remote's "A" button is pressed down it will have the same effect as pressing the right mouse button. This doesn't work in reverse. Here is a truth table for that code:
+
That code tells the computer this: when ever the Wiimote's "A" button is pressed down it will have the same effect as pressing the right mouse button. This doesn't work in reverse. Here is a truth table for that code:
 
<table Border=2>
 
<table Border=2>
 
<tr>
 
<tr>
 
<td><big><b>If...</b></big></td>
 
<td><big><b>If...</b></big></td>
<td><b>The computer thinks that "A" on the Wii Remote is pressed:</b></td>
+
<td><b>The computer thinks that "A" on the Wiimote is pressed:</b></td>
<td><b>The Wii Remote has "A" pressed:</b></td>
+
<td><b>The Wiimote has "A" pressed:</b></td>
 
<td><b>The computer thinks that the right mouse button is pressed:</b></td>
 
<td><b>The computer thinks that the right mouse button is pressed:</b></td>
 
<td><b>The right mouse button is pressed:</b></td>
 
<td><b>The right mouse button is pressed:</b></td>
 
</tr><tr>
 
</tr><tr>
<td><b>The Wii Remote has "A" pressed:</b></td>
+
<td><b>The Wiimote has "A" pressed:</b></td>
 
<td>True</td>
 
<td>True</td>
 
<td>True</td>
 
<td>True</td>

Latest revision as of 23:17, 29 June 2010

GlovePIE ™
GlovePie running code
General
Author(s)Carl Kenner
TypePC utility
Version0.43
Links
Download
Website
Discussion
Peripherals
Bluetooth Wiimote.svg Nunchuck alternative.svg ClassicController.svg WiiBalanceBoard.svg Les Paul Controller


It is a current "driver" for the Wiimote. Not many software packages can use a Wiimote input data so GlovePIE works by taking input from one device (e.g. Wiimote) and translates it into fake inputs from another input device (e.g. mouse). It uses a language much like basic. Example code:

Mouse.RightButton = Wiimote.A

That code tells the computer this: when ever the Wiimote's "A" button is pressed down it will have the same effect as pressing the right mouse button. This doesn't work in reverse. Here is a truth table for that code:

If... The computer thinks that "A" on the Wiimote is pressed: The Wiimote has "A" pressed: The computer thinks that the right mouse button is pressed: The right mouse button is pressed:
The Wiimote has "A" pressed: True True True False
The right mouse button is pressed: False True False True