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 

Wiimote as mouse problem

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



Joined: 24 Jun 2008
Posts: 2

Digg It
PostPosted: Tue Jun 24, 2008 4:07 pm    Post subject: Wiimote as mouse problem

I bought a Blue tooth Dongle for my computer, and i checked and GLOVEPIE knows my Wiimote is connected, but when i run a program for the mouse, the cursor drifts the the top left corner of the screen. I am not using a sensor bar, and i notice that with the wiimote, i ca move the cursor, but barely anything, and it just drifts back to the corner, any help? Sad
Back to top
View user's profile Send private message
Wreyth



Joined: 03 Nov 2007
Posts: 77

Digg It
PostPosted: Tue Jun 24, 2008 8:16 pm    Post subject:

well it depends on what mouse script your running. if it's an IR script then yes you need a sensor bar, also if it isn't you may just need to run the calibration tool in glovepie.
Back to top
View user's profile Send private message
Chumpu



Joined: 24 Jun 2008
Posts: 2

Digg It
PostPosted: Wed Jun 25, 2008 2:10 am    Post subject:

I tried to calibrate but that didnt change anything
Back to top
View user's profile Send private message
Wreyth



Joined: 03 Nov 2007
Posts: 77

Digg It
PostPosted: Wed Jun 25, 2008 4:13 am    Post subject:

could you possibly post the script your trying to run with it? it would help alot in figuring out your problem
Back to top
View user's profile Send private message
djdna



Joined: 29 Jun 2008
Posts: 36

Digg It
PostPosted: Sun Jun 29, 2008 9:11 pm    Post subject:

hi sorry to hijack this thread but i wondered if anyone can help me with a very similar problem...


im running an edit of the "WiiMouse IR" from the GlovePIE:GlovePIE_Scripts section on wiili

but my problem existed in the original script aswell, so i know its not my edits that have caused this...

anyway my problem is no matter what i do, the top right and bottom left corners of the wiimote IR pointers "control area" are not responding properly, sometimes i cant move the pointer into the very corner atall, ive tried using the wiimote calibration in glovepie and adjusting the "distance from sensor bar aswell" but it doesnt help...



im going to try the "Carl's IR Mouse" script now tho and see if its any better, but any help troubleshooting the pointer would be welcome (tho bear in mind im very nb at scripting and am just using common sense to edit together scripts atm)

thanks
Back to top
View user's profile Send private message
djdna



Joined: 29 Jun 2008
Posts: 36

Digg It
PostPosted: Sun Jun 29, 2008 9:29 pm    Post subject:

ps: just tried carls IR mouse script and its much better but it still has problems with the top right and bottom left corners of the wii pointers control area.

its like about 3% of total control area isnt there/functioning but only 2 of the far corners
Back to top
View user's profile Send private message
Wreyth



Joined: 03 Nov 2007
Posts: 77

Digg It
PostPosted: Mon Jun 30, 2008 4:39 am    Post subject:

djdna wrote:
ps: just tried carls IR mouse script and its much better but it still has problems with the top right and bottom left corners of the wii pointers control area.

its like about 3% of total control area isnt there/functioning but only 2 of the far corners



lol you just need to adjust for your screen in the script lol here's an example.

Code:


mouse.DirectInputX = (smooth(Wiimote1.pointerX - 1/2)*3) *(Screen.Width*1)
mouse.DirectInputY = (smooth(Wiimote1.pointerY - 1/2)*3) *(Screen.Height*1)
mouse.CursorPosX = (Screen.Width*1/2) + mouse.DirectInputX
mouse.CursorPosY = (Screen.Height*1/2)+ mouse.DirectInputY
end if



that's for a direct mouse input approach and a modified mouse smoothing
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