Is there any way to determine the current state of the mouse buttons?
Mouse Events flag the transitions but I'm looking for something that will tell me, at any given time, "the button is down now" or "the button is not down now".
Yes, a specific event monitoring loop could be built to gather this information and make it globally available but all the monitoring loops I've tried have a small window of vulnerability when switching from looking for up(down) events to looking for down(up) events where they can miss event transitions, leading to incorrect state data.
I was hoping someone could point me at an intrinsic function or property somewhere.