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.

Dark GDK / Mouse Wheel

Author
Message
ReiKumar
16
Years of Service
User Offline
Joined: 23rd Sep 2008
Location:
Posted: 27th May 2009 00:09
How do I read in data from the mouse wheel?
Lilith
16
Years of Service
User Offline
Joined: 12th Feb 2008
Location: Dallas, TX
Posted: 27th May 2009 00:26
The mouse wheel is measured by the Z-Axis.

Lilith, Night Butterfly
I'm not a programmer but I play one in the office
ReiKumar
16
Years of Service
User Offline
Joined: 23rd Sep 2008
Location:
Posted: 27th May 2009 01:08
I meant I was unsure which function reads in the wheel.
Lilith
16
Years of Service
User Offline
Joined: 12th Feb 2008
Location: Dallas, TX
Posted: 27th May 2009 01:45
dbMouseZ(), just like dbMouseX() and dbMouseY() give you the X and Y position. dbMouseMoveZ() if you're interested in how far the wheel has turned since last read.

Lilith, Night Butterfly
I'm not a programmer but I play one in the office
ReiKumar
16
Years of Service
User Offline
Joined: 23rd Sep 2008
Location:
Posted: 27th May 2009 08:06
Thank you!

Login to post a reply

Server time is: 2024-11-05 18:55:53
Your offset time is: 2024-11-05 18:55:53