Add Acceleration for rotary encoder with the following functions to enable or disable acceleration. The larger the Coefficient, the faster the acceleration.
config RE_ACCELERATION_MIN_CUTOFF
int "Minimum Acceleration cutoff time (ms)"
default 200
help
At this time in milliseconds between rotary ticks we want to be at the minimum acceleration
config RE_ACCELERATION_MAX_CUTOFF
int "Maximum Acceleration cutoff time (ms)"
default 4
help
At this time in milliseconds between rotary ticks we want to be at the maximum acceleration
to determine at what time interval between "ticks" we are accelerating at the fastest and at which the slowest. In between the value is interpolated.
Improve rotary "tick". Misses less ticks.
Add Acceleration for rotary encoder with the following functions to enable or disable acceleration. The larger the Coefficient, the faster the acceleration.
Added 2 configurable time variables to Kconfig:
to determine at what time interval between "ticks" we are accelerating at the fastest and at which the slowest. In between the value is interpolated.