Adjusted timing variables for UI Buttons

Made debounce a little longer, made double click and long press timeouts
much longer.
pull/274/head
Stephen Brown 3 years ago
parent 8d3fb5ff1e
commit b2167d8f81
  1. 6
      src/uibuttons.h

@ -28,9 +28,9 @@
#include "config.h" #include "config.h"
#define BUTTONS_UPDATE_NUM_TICKS 100 #define BUTTONS_UPDATE_NUM_TICKS 100
#define DEBOUNCE_TIME 50 #define DEBOUNCE_TIME 100
#define DOUBLE_CLICK_TIME 1700 #define DOUBLE_CLICK_TIME 4000
#define LONG_PRESS_TIME 4500 #define LONG_PRESS_TIME 10000
#define MAX_BUTTONS 5 #define MAX_BUTTONS 5
class CUIButton class CUIButton

Loading…
Cancel
Save