New to glovepie

New to glovepie

Postby P8ntBal1551 » Mon 14 Jun, 2010 6:29 am

I'm going to have multiple mice on my computer, and i want to take the scroll from one of my mice and use it for volume, so far i have this
if Mouse.WheelDown = true
Key.VolumeDown = true
endif
if Mouse.WheelUp = true
Key.VolumeUp = true
endif


i know this will work for everymouse, thats half of my question
the other half is how come, when i scroll, if keeps turning the volume down, or up?
P8ntBal1551
 
Posts: 1
Joined: Mon 14 Jun, 2010 6:23 am

Re: New to glovepie

Postby mcfroogle » Tue 15 Jun, 2010 3:18 am

The mouse.wheelup and wheeldown commands seem to be generally buggy, i've tried with the same results :-s

About your second question about blocking one mouse, this post might help :-)

viewtopic.php?f=10&t=704&p=2056#p2056
mcfroogle
 
Posts: 33
Joined: Tue 11 May, 2010 5:49 am

Re: New to glovepie

Postby Guest » Wed 16 Jun, 2010 4:54 pm

the other half is how come, when i scroll, if keeps turning the volume down, or up?

Not an expert, but I believe the reason is that the mouse is saying the button(scroll) is being pressed but not giving a release command

Try this
Code: Select all
Key.VolumeUp = Clicked(Mouse.WheelUp)
Key.VolumeDown = Clicked(Mouse.WheelDown)


To quote the documentation
Mouse.WheelUp and Mouse.WheelDown
does not work with multiple mice yet.

scroll wheel is considered to be the mouse’s Z axis
DirectInputZ
this works with multiple mice
Guest
 

Re: New to glovepie

Postby mcfroogle » Thu 17 Jun, 2010 1:47 am

I just tried the script that Guest suggested, but it didn't work for me :-s

Any other suggestions? i'm all out
mcfroogle
 
Posts: 33
Joined: Tue 11 May, 2010 5:49 am

Re: New to glovepie

Postby Guest » Thu 17 Jun, 2010 5:50 am

it didn't work for me

:|
I just double checked it and it works here :roll:

does not work with multiple mice yet :!: .

So if this is needed
:arrow: mouse.Swallow = true
or
:arrow: have a deferent setting for other mice It will not work

Only works for all mice grouped as 1

:idea: Maybe something can be done with the mouse’s Z axis (Mouse Wheel)
this works with multiple mice
Perhaps anding an auto centering to keep it from repeating when using say MouseParty or as Common HID
Guest
 


Return to Mouse

Who is online

Users browsing this forum: No registered users and 1 guest

cron