FlushMouseZ()
BlitzMax Forums/BlitzMax Programming/FlushMouseZ()
| ||
I am not sure if anyone wants this or has use for it, but I use flushmouse to flush the mousewheel constantly, to keep its value at 0 so it's value doesn't go above or below 0 once you've reached your target value. Ok suppose I am basing another variable off mousez() then I can cap that variable, but if I keep scrolling mousez() will go beyond it and I have to scroll back through it to get back down the what the variable was left at. So I just altered the flushmouse function in polled input slightly and created flushmousez() so it only flushes the z, which is what I want specific. Just in case someone else wanted it... |