Fix unintended encoder doubleclick, Reduce long-press time

sdkconfig:
- increase encoder dead-time to fix bug where encoder triggered multiple
  short pressed events at one press.
  E.g. instantly submitted value when entering a menu page sometimes

button:
- decrease input-timeout (long press time) to 500ms same as encoder long-press
- empty encoder queue when changing to MENU

- re-enable or increase joystick scaling to have more resolution at
  slower speeds
This commit is contained in:
jonny
2024-03-11 14:27:55 +01:00
committed by jonny_l480
parent a5544adeb6
commit c1d34237ee
5 changed files with 9 additions and 6 deletions

View File

@@ -1252,7 +1252,7 @@ CONFIG_WPA_MBEDTLS_CRYPTO=y
#
CONFIG_RE_MAX=1
CONFIG_RE_INTERVAL_US=1000
CONFIG_RE_BTN_DEAD_TIME_US=10000
CONFIG_RE_BTN_DEAD_TIME_US=40000
CONFIG_RE_BTN_PRESSED_LEVEL_0=y
# CONFIG_RE_BTN_PRESSED_LEVEL_1 is not set
CONFIG_RE_BTN_LONG_PRESS_TIME_US=500000