Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Click Wheel?

Author
Message
Lavalord7
17
Years of Service
User Offline
Joined: 9th Jan 2007
Location:
Posted: 21st Jan 2007 01:28
Is it possible to get input from the click wheel/middle mouse button? If so, how?

Gil Galvanti
19
Years of Service
User Offline
Joined: 22nd Dec 2004
Location: Texas, United States
Posted: 21st Jan 2007 04:09
Middle mouse button is equal to 4. So "if mouseclick() = 4 then [do whatever]".

Pirates of Port Royale
Live the life of a pirate.
Lavalord7
17
Years of Service
User Offline
Joined: 9th Jan 2007
Location:
Posted: 21st Jan 2007 04:16
Thank you! But what about actually spinning the wheel? Can you do that?

Scorpyo
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: italy
Posted: 21st Jan 2007 10:04
mousemovez() will sense the mousewheel spin
Lavalord7
17
Years of Service
User Offline
Joined: 9th Jan 2007
Location:
Posted: 21st Jan 2007 22:46
Thanks... I got it to work for scrolling forward

but what about backward?

Login to post a reply

Server time is: 2024-09-25 15:26:54
Your offset time is: 2024-09-25 15:26:54