Initial Nunchuck code