Tuesday, December 19, 2006

Samples Of Visual Merchandiser Cover Letters

[GlovePIE] Integrating nunchuk

GlovePIE The new version (0.27) can manage the wiimotes nunchucks. We can now use the 2 buttons on the nunchuk, the joystick and motion sensors. variables concerning the 2 buttons (C and Z) are these: Wiimote.Nunchuk.CButton
Wiimote.Nunchuk.ZButton variables to detect movements on the X, Y and Z:
Wiimote.Nunchuk.RawForceX Wiimote.Nunchuk . RawForceY Wiimote.Nunchuk.RawForceZ

And the 2 variables to know the position of the joystick:
Wiimote.Nunchuk.JoyX Wiimote.Nunchuk.JoyY

Here is a diagram that I did it for more details on the operation of the analog joytick (click to enlarge):


We must therefore use the trigonometry if you want to know the angle of the joystick, great math:)

0.27 GlovePIE Link to download: http://wiipiicii.free.fr/GlovePIE027.zip
To use the joystick must install a virtual joystick with the software PPJoy:
http://www.geocities.com/deonvdw/Docs/PPJoyMain.htm

UPDATE: I've been playing Zelda OoT Goldney 64 and with the nunchuk and the wiimote, it works perfectly. I used it for Project64.
Other N64 games should work perfectly, and all games using a joystick. Moreover
Nunchuk combo / wiimote is now possible on the PC FPS. There was an update Wiitar which now takes into account the nunchuk:
http://www.wiili.org/forum/wiitar-30--- (nunchuck-wiitar)-t450.html

A new version is released GlovePIE considering the classic controller (version 0.28)


0 comments:

Post a Comment