-
Notifications
You must be signed in to change notification settings - Fork 547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dragging viewport with left mouse button #88
Labels
Comments
Mouse buttons are hardcoded now. Mostly in various actions, but they can be changed to be configurable. It is not hard to do. |
thedmd
added a commit
that referenced
this issue
Dec 25, 2020
New API in Config: int DragButtonIndex; // Mouse button index drag action will react to (0-left, 1-right, 2-middle) int SelectButtonIndex; // Mouse button index select action will react to (0-left, 1-right, 2-middle) int NavigateButtonIndex; // Mouse button index navigate action will react to (0-left, 1-right, 2-middle) int ContextMenuButtonIndex; // Mouse button index context menu action will react to (0-left, 1-right, 2-middle)
It is done, you can now override mouse button indices used in actions via int DragButtonIndex; // Mouse button index drag action will react to (0-left, 1-right, 2-middle)
int SelectButtonIndex; // Mouse button index select action will react to (0-left, 1-right, 2-middle)
int NavigateButtonIndex; // Mouse button index navigate action will react to (0-left, 1-right, 2-middle)
int ContextMenuButtonIndex; // Mouse button index context menu action will react to (0-left, 1-right, 2-middle) |
thedmd
added a commit
that referenced
this issue
Dec 29, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hey there,
I'm using this library for my project and i really like it! One feature which i would love to have is being able to configure which mouse buttons trigger what interactions, maybe put lasso select on right mouse button and moving the viewport on left, or moving the viewport with the middle mouse button etc. Do you think it would be hard to implement? I'd also be willing to spend some time on this, if you'd be willing to accept any pull requests. What do you think?
The text was updated successfully, but these errors were encountered: