Change screens if both left and right are pressed
This commit is contained in:
@ -12,7 +12,7 @@ extern "C" {
|
||||
#define BUTTON_MIN_INTERVAL 50 // ms
|
||||
#define ENC_MAX_PHASE 50 // ms
|
||||
|
||||
typedef enum { UMK_BTN_RELEASED, UMK_ENC_CW, UMK_ENC_CCW } ButtonMessageKind;
|
||||
typedef enum { UMK_BTN_PRESSED, UMK_ENC_CW, UMK_ENC_CCW } ButtonMessageKind;
|
||||
|
||||
typedef struct {
|
||||
ButtonMessageKind kind;
|
||||
|
||||
Reference in New Issue
Block a user