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 

.30 bug, directions mouse

 
Post new topic   Reply to topic    WiiLi.org Forum Index -> GlovePie
View previous topic :: View next topic  
Author Message
GizmoTheGreen



Joined: 14 Nov 2006
Posts: 123

Digg It
PostPosted: Tue Mar 25, 2008 10:42 pm    Post subject: .30 bug, directions mouse

Code:
mouse.DirectInputX += wiimote.Nunchuk.JoyX
mouse.DirectInputY += wiimote.Nunchuk.JoyY


this code works as expected, almost, try using it and see

it should work, but doesnt

thx
_________________
Project starter/leader of TrueLoveDS
Back to top
View user's profile Send private message
crim3



Joined: 30 Jan 2008
Posts: 26
Location: Spain

Digg It
PostPosted: Fri Mar 28, 2008 8:24 pm    Post subject:

I don't have a nunchuk but now I'm intrigued. Can you tell what happens?
Back to top
View user's profile Send private message
GizmoTheGreen



Joined: 14 Nov 2006
Posts: 123

Digg It
PostPosted: Wed Apr 02, 2008 11:18 am    Post subject:

well, if you press both up, and left
(diagonally up - left)

the mouse goes diagonally up to the left

but, down to the right is "dead"

its always one direction thats not working, though, adding * 10 or seomthing, seems to fix it

Code:
mouse.DirectInputX += wiimote.Nunchuk.JoyX * 10
mouse.DirectInputY += wiimote.Nunchuk.JoyY * 10


but this shouldnt be necessary?
_________________
Project starter/leader of TrueLoveDS
Back to top
View user's profile Send private message
leynadix



Joined: 28 Dec 2007
Posts: 44
Location: MatarĂ³, Catalunya

Digg It
PostPosted: Fri Apr 04, 2008 1:25 pm    Post subject:

Hi!
I use this script for see in Fps Games "exactly in Oblivion".

//Nunchuk movimiento de vista
var.detjoyX = wiimote.Nunchuk.JoyX
var.detjoyY = wiimote.Nunchuk.JoyY
var.0XY = 0.000000000000

If var.detjoyX >= 0 and < 0.023 then
var.vistaX = var.0XY
else
var.vistaX = var.detjoyX
endif

if var.detjoyY >= -0.033 and < 0.0 then
var.vistaY = var.0XY
else
var.vistaY = var.detjoyY
endif
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> GlovePie 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