The nunchuk x and y values are only being sent out when they have changed (to reduce redundant messages, I'd imagine).
When the controller returns to the center position a new value is often not sent out, causing it to be stuck on the last non center value. In my case I'm using the joystick to function like an arcball, rotating around a scene. If you release the joystick the camera will often continue spinning as it didn't receive the message that it's gone back to center. I'm only updating the joyx and joyy variables in my program as the messages come in and retaining the last received values until a new one comes in.
Anyone have an idea on how to get around this? Is there a programming trick I can use?
*EDIT: I've verified this with quicklook - if I push the joystick far left for example, the value will go to about 0.05 (far left), but if I release the joystick quickly, it'll go to 0.19 and sit there. Then if I touch the joystick lightly it'll jump to 0.5, centered.
cheers and thanks in advance!
James
Comment