-
Notifications
You must be signed in to change notification settings - Fork 395
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
How to trigger individual button action while maintaining combination of others? #2470
Comments
From https://pwr-solaar.github.io/Solaar/rules:
But maybe you want the rule to trigger only if the button is held down and nothing happens while it is down. That's beyond the capabilities of Solaar rules unless you write some external program that keeps track of what buttons were pressed. |
Solaar doesn't remember what it previously did. (There are some very small exceptions.) So the audio rule is unconditionally triggered when the back button is released, as expected. You could write programs (or shell scripts) that are called. These programs could arrange to keep track of whether the wheel was turned while the back button was down and only do the volume change under the correct circumstances. |
Can I ask why I can't obtain your same result in zooming in and out? I've copied exactly what you wrote...no action at all. |
I left out the specific settings because I wasn't sure if they applied directly to our current topic. But, if you're interested, here are the extra steps that might be helpful. (By the way, I'm still unsure why this solution requires using two mouse scrolls. I arrived at it through trial and error. Just a heads-up, I use 'natural scroll' or 'inverted scroll' settings. Feel free to adjust them back to the standard direction if you prefer ) |
I used to hold the back button together with scrolling up/down to control page's zoom in/out, which works perfectly.
Now I would like to click the back button individually to trigger back to normal size, i.e. control + 0, but I don't know how.
The text was updated successfully, but these errors were encountered: