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 / dbMouseMoveZ

Author
Message
Marsh0
11
Years of Service
User Offline
Joined: 18th Mar 2009
Location:
Posted: 1st Apr 2012 23:16
Hey i am having a bit of trouble with the scroll wheel on my mouse. It works fine with a positive value. When i check for negative though it never returns true. Even though i am displaying the value with dbText and it is -120.




Any ideas? Thanks!

Your signature has been erased by a mod - Please reduce it to 600x120 maximum size
Hawkblood
10
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 1st Apr 2012 23:25
You can only call it once per loop. Do something like this:


The fastest code is the code never written.
Marsh0
11
Years of Service
User Offline
Joined: 18th Mar 2009
Location:
Posted: 2nd Apr 2012 01:56
Ah, that solved it. Thanks a lot.

Your signature has been erased by a mod - Please reduce it to 600x120 maximum size

Login to post a reply

Server time is: 2020-09-24 22:43:09
Your offset time is: 2020-09-24 22:43:09