Skip to content
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

Equivalences for those of us lacking some mouse buttons #19

Open
rsharris opened this issue Jul 19, 2022 · 1 comment
Open

Equivalences for those of us lacking some mouse buttons #19

rsharris opened this issue Jul 19, 2022 · 1 comment

Comments

@rsharris
Copy link

Is there some place that lists the user interface equivalences for things like the middle or right mouse buttons?

I'm using a mac, and I only have a single click mouse (which is apparently the left click) with scroll button. I came across one PretextView tutorial that indicates the space bar can act as the middle mouse button. But I haven't discovered what to use as the right mouse button (which seems necessary for panning).

I haven't looked at your code, so I don't know if this would be something specific to PretextView or if they are defined by some platform-agnostic UI package you might be using. In either case, are they listed somewhere?

@tomlin7
Copy link

tomlin7 commented Mar 31, 2024

@rsharris I think you are right about the space key mapping.

The middle button has been bound to the following functions: https://github.com/sanger-tol/PretextView/blob/master/PretextView.cpp#L2190-L2273

The space key has been bound to the following functions: https://github.com/sanger-tol/PretextView/blob/master/PretextView.cpp#L6395-L6443

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants