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 

Please Help, some Mouseclicking via GlovePIE is not working

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



Joined: 07 Aug 2008
Posts: 7
Location: Germany

Digg It
PostPosted: Thu Aug 07, 2008 2:37 pm    Post subject: Please Help, some Mouseclicking via GlovePIE is not working

Hello guys,
I hope sombody can help me. I´m just trying easy things via GlovePIE,
but there is some mystery: ;D Because if i wanna try just to switch a
Mouseclicking from True to False in different times it doesn´t work. See my
code and just click to Run. So you will see that my help variable (set1) is switching
how i expected, but not the mouse button??? Why?
Is there anybody who can say what i did wrong. I think there is just some
missunderstanding im my thinking (I hope so ;D)

Thanks for any help
TWORIM Wink
Code:
// Switcher
//PIE.FrameRate = 120Hz

var.switchtime = 500ms

debug = mouse.MiddleButton + " Var =" + var.set1
wait var.switchtime
mouse.MiddleButton = true
var.set1 = true
debug = mouse.MiddleButton + " Var =" + var.set1
wait var.switchtime
mouse.MiddleButton = false
var.set1 = false
Back to top
View user's profile Send private message Send e-mail
Maxadam5



Joined: 23 May 2008
Posts: 39

Digg It
PostPosted: Thu Aug 14, 2008 8:47 pm    Post subject:

I think this is what you want
Code:
// Switcher
//PIE.FrameRate = 120Hz

var.switchtime = 500ms
debug = var.set1

if mouse.MiddleButton = true then
   wait var.switchtime
   var.set1 = true
   else var.set1 = false
endif

if mouse.MiddleButton = false then
   wait var.switchtime
   var.set1 = false
   else var.set1 = true
endif
Back to top
View user's profile Send private message
tworim



Joined: 07 Aug 2008
Posts: 7
Location: Germany

Digg It
PostPosted: Mon Sep 08, 2008 9:15 am    Post subject:

Hi Maxadam5,
now is it working. I just wanna say THANK YOU for your help!!!
;D I´m happy now: Smile

greetings from tworim
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 -> 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