WiiLi Wiki frontpage Include your post in the News Get links Hoteles Quito
WiiLi.org Forum Index WiiLi.org
a new revolution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Help with Nunchuk

 
Post new topic   Reply to topic    WiiLi.org Forum Index -> Wii Remote and Nunchuck
View previous topic :: View next topic  
Author Message
SamTyson92



Joined: 16 Dec 2006
Posts: 34
Location: Hinckley, United Kingdom

Digg It
PostPosted: Sat Feb 10, 2007 3:22 pm    Post subject: Help with Nunchuk

Hi Ive made about 4 scripts using the Nunchuk but only just got one today so they havnt been fully tested but they work fine to control the mouse but when the pointer gets near the bottom it justs drifts downwards!
Is there anyway to fix that?

Code:
var.addX = wiimote1.Nunchuk.JoyX / 50
var.addY = wiimote1.Nunchuk.JoyY / 50

mouse.x = var.addX + mouse.x
mouse.y = var.addY + mouse.y
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> Wii Remote and Nunchuck All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group