Use descriptive names for mouse buttons #5539
Closed
timothyqiu
started this conversation in
GUI
Replies: 1 comment
-
If they're renamed to MOUSE_PRIMARY and MOUSE_SECONDARY, it would be strange to keep the other mouse buttons the same. At that point the mouse buttons may as well be less verbose and ordered, like it is convention in some games (thinking of Source games' |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
BUTTON_LEFT
andBUTTON_RIGHT
are actually referring to the primary button and secondary button. i.e. If you set your primary button to right button in OS settings,BUTTON_LEFT
will be reported for the right mouse button.I think we should either document this, or rename them accordingly.
Beta Was this translation helpful? Give feedback.
All reactions