Nunchuck code for glovepie?
I have benn looking for the past month on how to code on this thing, but couldn't find anythinhg on the internet. But i did find somethings in the documentation in glovepie 2.9. But it's so confusing, all i know is how to map the keys on the keyboard to the wii and nunchuk BUTTONS. I don't know anything about the motion stuff, but some of the information is in the documents. But anyway i Can't seem to get the nunchuk joystick to work correctly. Like this code right here:
Right = 1 > Wiimote1.Nunchuk.JoyX > 0.5
Left = -1 < Wiimote1.Nunchuk.JoyX < -0.5
down = 1 > Wiimote1.Nunchuk.JoyY > 0.5
up = -1 < Wiimote1.Nunchuk.JoyY < -0.5
this is off of the ocarinianunchuk script but it makes left and right go left and up and down go down. I have tryied everything that comes to my mind in changing this code but nothing works. I really want to know how to code the nunchuk joystic because i assume all the scripts are outdated so i want to build the script myself