Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
question about gfxlib mouse wheel...
#1
ok, wheel will return a number based on how much the wheel has spun since the screen mode was called. my question is, is there any way to reset this count without recalling the screen?? thanks
Reply
#2
bump? x.x
Reply
#3
Sorry, no way. But you can easily keep track of changes and act accordingly...
Code:
dim as integer z, old_z
...
getmouse ,,z
if z < old_z then
  '' moved down
elseif z > old_z then
  '' moved up
end if
old_z = z
...
ngelo Mottola - EC++
Reply
#4
lillo, that wont work.

Try moving the mouse outside the screen..

mouse wheel resets to 0, screwing any code that uses it up.
Reply
#5
thanks a lot =) great work you do my man
Reply
#6
Z!re, that was a bug, that I just fixed in CVS... :bounce:
ngelo Mottola - EC++
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)