You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to know when middle-mouse and right-click are released. I track them onMouse fine but in order to get when they are "up" I use:
It works fine, sort of, but I get different numbers on button pressed.
onMouseDown:
MiddleMouse
state.event.button = 1
state.event.buttons = 4
RightMouse
state.event.button = 2
state.event.buttons = 2
This is consistent with onMove.
However
onMouseUp
MiddleMouse
state.event.button = 1
state.event.buttons = 0
RightMouse
state.event.button = 2
state.event.buttons = 0
Beta Was this translation helpful? Give feedback.
All reactions