update buttons

This commit is contained in:
2025-04-19 13:38:51 +02:00
parent 0913466808
commit d4bb9ab825
3 changed files with 19 additions and 16 deletions

View File

@ -7,10 +7,12 @@
extern "C" {
#endif
#define NUM_BUTTONS 7
#define NUM_BUTTONS 9
#define NUM_ENCS 2
#define BUTTON_MIN_INTERVAL 50 // ms
#define ENC_MAX_PHASE 50 // ms
#define BUTTON_MIN_INTERVAL 50 // ms
#define ENC_MAX_PHASE 50 // ms
#define DRS_BUTTON_IDX (8)
typedef enum { UMK_BTN_PRESSED, UMK_ENC_CW, UMK_ENC_CCW } ButtonMessageKind;
@ -25,4 +27,4 @@ void ui_thread_entry(ULONG _);
}
#endif
#endif // __INC_ui_H
#endif // __INC_ui_H