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 

script mouse directinput = wiimote pointer

 
Post new topic   Reply to topic    WiiLi.org Forum Index -> Wii Scripts
View previous topic :: View next topic  
Author Message
jeromote



Joined: 19 Mar 2008
Posts: 61

Digg It
PostPosted: Wed Jun 11, 2008 10:45 am    Post subject: script mouse directinput = wiimote pointer

This is a first approach to emulation directinput = pointer
works with COD4, don't work with crysis or turok.
Code:

mouse.DirectInputX = (smooth(Wiimote1.pointerX - 1/2)*3) *(Screen.Width*1/2)
mouse.DirectInputY = (smooth(Wiimote1.pointerY - 1/2)*3) *(Screen.Height*1/2)
mouse.CursorPosX = (Screen.Width*1/2) + mouse.DirectInputX
mouse.CursorPosY = (Screen.Height*1/2)+ mouse.DirectInputY
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
wonder6oy



Joined: 12 Jun 2008
Posts: 20

Digg It
PostPosted: Thu Jun 12, 2008 3:30 pm    Post subject:

jeromote,

I REALLY love the way this script feels on the desktop as a simple mouse! Very forgiving, very smooth.

I'm currently working on using this script in one of my own...

I'll check back later,

Thanks!
Back to top
View user's profile Send private message
jeromote



Joined: 19 Mar 2008
Posts: 61

Digg It
PostPosted: Sun Jun 15, 2008 8:05 pm    Post subject:

thank you, it's cool. this sript is really well and the mouse is very flexible and clear, it does not tremble as with certain script, I hope that this script helps you Wink
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
wonder6oy



Joined: 12 Jun 2008
Posts: 20

Digg It
PostPosted: Tue Jun 24, 2008 2:16 pm    Post subject: Re: script mouse directinput = wiimote pointer

OK - I got my crazy script up now...

http://www.wiili.org/forum/universal-wiimote---great-for-fps-games-t4151.html

Thanks again!


jeromote wrote:
This is a first approach to emulation directinput = pointer
works with COD4, don't work with crysis or turok.
Code:

mouse.DirectInputX = (smooth(Wiimote1.pointerX - 1/2)*3) *(Screen.Width*1/2)
mouse.DirectInputY = (smooth(Wiimote1.pointerY - 1/2)*3) *(Screen.Height*1/2)
mouse.CursorPosX = (Screen.Width*1/2) + mouse.DirectInputX
mouse.CursorPosY = (Screen.Height*1/2)+ mouse.DirectInputY
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> Wii Scripts 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