|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object orc.Nunchuck
public class Nunchuck
Accesses Nintendo Wii Nunchuck via I2C; use the 3.3V port
Constructor Summary | |
---|---|
Nunchuck(Orc orc)
|
Method Summary | |
---|---|
int[] |
readAccelerometers()
|
int |
readButtons()
|
int[] |
readJoystick()
|
int[] |
readState()
Read the whole nuncheck state vector at once; a vector is returned containing joyx, joyy, accelx, accely, accelz, buttons |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Nunchuck(Orc orc)
Method Detail |
---|
public int[] readState()
public int[] readJoystick()
public int[] readAccelerometers()
public int readButtons()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |