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 i wont to hold "B" and move the corsor

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



Joined: 11 Jul 2007
Posts: 13

Digg It
PostPosted: Sat Jul 14, 2007 9:33 pm    Post subject: Help i wont to hold "B" and move the corsor

Hi i wanted to put in bit a script when you hold the B button and you can move the cursor around the screen with the direction pad, so the direction pad buttons would have two functions one as normal and one when you press the B button.
Back to top
View user's profile Send private message
TiagoTiago



Joined: 20 Jan 2007
Posts: 710
Location: Brasil

Digg It
PostPosted: Sat Jul 14, 2007 11:49 pm    Post subject:

that doesn't seem like it would be hard to do...
_________________
please put the scripts on the wiki so they dont get lost as new stuff is posted!
phpBB doesnt like me,somtimes it will forget to warn me about new replies to threads I asked it to,if you see a thread I should have responded, could please email me?
Back to top
View user's profile Send private message Send e-mail
fortunzfavor



Joined: 13 Jun 2007
Posts: 95

Digg It
PostPosted: Sun Jul 15, 2007 12:57 am    Post subject:

it's not, though I'm sure it could be done better.
Back to top
View user's profile Send private message Visit poster's website
ddddddddd



Joined: 11 Jul 2007
Posts: 13

Digg It
PostPosted: Wed Jul 18, 2007 8:30 am    Post subject:

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



Joined: 17 Jul 2007
Posts: 3

Digg It
PostPosted: Wed Jul 18, 2007 9:00 am    Post subject:

thanks i used a bit of your script and used it in my resident evil script
Back to top
View user's profile Send private message
ryandapimp913



Joined: 11 May 2008
Posts: 2

Digg It
PostPosted: Mon May 12, 2008 3:02 am    Post subject: Here it is.

Wiimote mouse, an answer to you problem.

Code:

//Ryan's wiimote d-pad lock mouse
if wiimote.Exists then
   if wiimote.B then
      if wiimote.Left = true then
         cursor1.x = cursor1.x - 2pixels
         else
             cursor1.x = cursor1.x
      endif
      if wiimote.Up = true then
         cursor1.y = cursor1.y - 2pixels
         else
             cursor1.y = cursor1.y
      endif
      if wiimote.Right = true then
         cursor1.x = cursor1.x + 2pixels
         else
             cursor1.x = cursor1.x
      endif
      if wiimote.Down = true then
         cursor1.y = cursor1.y + 2pixels
         else
             cursor1.y = cursor1.y
      endif
   endif
endif


I don't have my bluetooth dongle yet, but if my programing expertise are correct, this should be what you requested.
Back to top
View user's profile Send private message Send e-mail
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