diff --git a/src/configuration.h b/src/configuration.h index 325e74f3c..70e1a706b 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -110,6 +110,11 @@ along with this program. If not, see . // Define if screen should be mirrored left to right // #define SCREEN_MIRROR +// Define BUTTON_PIN to ensure button setup is always done +#ifndef BUTTON_PIN +#define BUTTON_PIN (-1) +#endif + // I2C Keyboards (M5Stack, RAK14004, T-Deck, TCA8418) #define CARDKB_ADDR 0x5F #define TDECK_KB_ADDR 0x55