You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the current implementation, each notification rule is processed independently without a memory to allow for fine-tuned operations. For instance, adjusting the volume using the thumbwheel on the MX Master 2S mouse may result in excessively fast speed. To address this limitation, it would be beneficial to introduce a counter for byte sequences, enabling deferred actions once the counter surpasses a certain threshold.
In this configuration, a counter is represented as a dictionary with a string key mapped to a signed integer value. The following basic operations can be performed:
SetCounter(key, val): Creates or resets a counter with the given value.
AddCounter(key, val): Creates a counter with a default value of 0 if the key doesn't exist. Otherwise, it adds the specified value to the current counter value.
CheckCounter(key, op, val): Performs arithmetic or bitwise operations on the counter based on the provided operator and value.
The text was updated successfully, but these errors were encountered:
A problem with your rules is that if the thumb wheel message has a displacement of more than 10 only 5 will be used up immediately. The next notification may then use another 5, and so on.
I'm not sure how to best solve this problem.
In the current implementation, each notification rule is processed independently without a memory to allow for fine-tuned operations. For instance, adjusting the volume using the thumbwheel on the MX Master 2S mouse may result in excessively fast speed. To address this limitation, it would be beneficial to introduce a counter for byte sequences, enabling deferred actions once the counter surpasses a certain threshold.
A proposed configuration could look like this:
In this configuration, a counter is represented as a dictionary with a string key mapped to a signed integer value. The following basic operations can be performed:
The text was updated successfully, but these errors were encountered: