I added an event listener to the Runtime's mouse event, and almost everything is working out well. The one thing that appears broken, at least in the Windows simulator, is that I do not reliably get every secondary button down event. It works fine until I right click in quick succession, when it ignores every other click.
I tried printing the event state, and I'm not getting a second right button down event. I suspect the problem is that double right click is a different OS level event than single right click. At least, I solved a bug in another engine that had the same behavior and this was the cause.
Left, or primary, click events happen exactly as expected, regardless of speed. It's only the right clicks that (situationally) get dropped.
Has anyone run into this before? Or is there a setting I can tweak to fix this?