-
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
Ability to store and read values in rules #2417
Labels
Comments
This would be a major expansion to rules. |
I see Profile switches as a possible feature in the future, and let it act similar to a DPI button switch. But the code and UI needs a cleanup to be ready for more complexity. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Information
solaar --version
andgit describe --tags
): solaar 1.1.11uname -srmo
): Linux 6.6.19-1-MANJARO x86_64 GNU/Linuxsolaar show
for the target device (if applicable):Is your feature request related to a problem? Please describe.
I would like to have the ability to store and read some values in rules. This would allow for more complicated setups, like multiple profiles, toggle buttons and layers. Simple integer values would be more than enough to handle most cases.
Describe the solution you'd like
Here is an example how a simple toggle would look like with my proposal:
when x is pressed and y is 0, output action 1 | when z is pressed and y is 0, change y to 1 | when x is pressed and y is 1, output action 2 | when z is pressed and y is 1, change y to 0
x is some button for your actions
y is a variable to store some value
z is some button that acts like a toggle button through y
I already do something very similar with my dpi setting, switching through 3 levels with a single button.
Additional context
This would also solve #2145, at the cost of making the setup more complicated.
The text was updated successfully, but these errors were encountered: