-
Notifications
You must be signed in to change notification settings - Fork 447
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
Using the mouse forward and backward keys as undo and repo #440
Comments
I think such device-specific stuff should be solved outside of an application. Did you try to map the mouse keys via Logitech Options to the proper shortcuts for the functions you want to achieve? Undo would be Note however the issue #428 with shortcuts affecting the German localization (I see you're from Hamburg). So you might have to wait until this is resolved. |
It's not really device specific, but they emit a certain virtual key code, e.g. |
That's on Windows. Might be different on MacOS and Linux. And, as you wrote, you want to reinterpret VK_BROWSER_BACK to Undo and VK_BROWSER_FORWARD to Redo. That's just your preference of a mapping of these keys. Let another person say I want these buttons to select pen or eraser. The next will like to map them to zooming or whatever. The fourth wants to switch pages forth and back. These are all reasonable use cases for such buttons - depending on personal preference. Therefore I argue that a mapping external to the OpenBoard application would be best. |
Hello, Actually, OpenBoard doesn't handle other buttons than the left one, except in specific contexts. We already discussed with the team of the utility of adding new behaviors on the mouse (that is not the only input device we handle), like making the right button erase, make the back and forward buttons (the ones you mention) navigate through pages or perform undo/redo, or navigate through pages with the mouse wheel or zoom in/out with the mouse wheel, etc... It would be surely a pretty nice enhancement, but due to our limited resources, this feature has not been considered a priority. On a technical pov, I think it could be done very easily btw. https://doc.qt.io/qt-5/qt.html#MouseButton-enum Until then, maybe the workaround proposed by @letsfindaway could help you. |
I use an MX Vertical Mouse by Logitech (very good mouse) and as you can see in the topmost image it has two keys on it, which are very easy to access with my thumb (other moues have these keys as well!)
In my browser they work by default as forward and backward buttons (e.g. go to the page you visited before this one, same as the buttons in the upper left of your browser does).
It would be nice, to add a functionality to map them to undo and redo, would improve my workflow a lot.
The text was updated successfully, but these errors were encountered: