|
|
@ -292,6 +292,11 @@ |
|
|
|
// Buttons |
|
|
|
#define BUTTON1_PIN 0 |
|
|
|
#define BUTTON1_MODE BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH |
|
|
|
#define BUTTON1_PRESS BUTTON_MODE_TOGGLE |
|
|
|
#define BUTTON1_CLICK BUTTON_MODE_NONE |
|
|
|
#define BUTTON1_DBLCLICK BUTTON_MODE_NONE |
|
|
|
#define BUTTON1_LNGCLICK BUTTON_MODE_NONE |
|
|
|
#define BUTTON1_LNGLNGCLICK BUTTON_MODE_RESET |
|
|
|
#define BUTTON1_RELAY 1 |
|
|
|
|
|
|
|
// Relays |
|
|
@ -581,6 +586,11 @@ |
|
|
|
// Buttons |
|
|
|
#define BUTTON1_PIN 0 |
|
|
|
#define BUTTON1_MODE BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH |
|
|
|
#define BUTTON1_PRESS BUTTON_MODE_TOGGLE |
|
|
|
#define BUTTON1_CLICK BUTTON_MODE_NONE |
|
|
|
#define BUTTON1_DBLCLICK BUTTON_MODE_NONE |
|
|
|
#define BUTTON1_LNGCLICK BUTTON_MODE_NONE |
|
|
|
#define BUTTON1_LNGLNGCLICK BUTTON_MODE_RESET |
|
|
|
#define BUTTON1_RELAY 1 |
|
|
|
|
|
|
|
// Relays |
|
|
@ -602,7 +612,18 @@ |
|
|
|
#define BUTTON2_PIN 9 |
|
|
|
|
|
|
|
#define BUTTON1_MODE BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH |
|
|
|
#define BUTTON1_PRESS BUTTON_MODE_TOGGLE |
|
|
|
#define BUTTON1_CLICK BUTTON_MODE_NONE |
|
|
|
#define BUTTON1_DBLCLICK BUTTON_MODE_NONE |
|
|
|
#define BUTTON1_LNGCLICK BUTTON_MODE_NONE |
|
|
|
#define BUTTON1_LNGLNGCLICK BUTTON_MODE_RESET |
|
|
|
|
|
|
|
#define BUTTON2_MODE BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH |
|
|
|
#define BUTTON2_PRESS BUTTON_MODE_TOGGLE |
|
|
|
#define BUTTON2_CLICK BUTTON_MODE_NONE |
|
|
|
#define BUTTON2_DBLCLICK BUTTON_MODE_NONE |
|
|
|
#define BUTTON2_LNGCLICK BUTTON_MODE_NONE |
|
|
|
#define BUTTON2_LNGLNGCLICK BUTTON_MODE_RESET |
|
|
|
|
|
|
|
#define BUTTON1_RELAY 1 |
|
|
|
#define BUTTON2_RELAY 2 |
|
|
@ -630,8 +651,25 @@ |
|
|
|
#define BUTTON3_PIN 10 |
|
|
|
|
|
|
|
#define BUTTON1_MODE BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH |
|
|
|
#define BUTTON1_PRESS BUTTON_MODE_TOGGLE |
|
|
|
#define BUTTON1_CLICK BUTTON_MODE_NONE |
|
|
|
#define BUTTON1_DBLCLICK BUTTON_MODE_NONE |
|
|
|
#define BUTTON1_LNGCLICK BUTTON_MODE_NONE |
|
|
|
#define BUTTON1_LNGLNGCLICK BUTTON_MODE_RESET |
|
|
|
|
|
|
|
#define BUTTON2_MODE BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH |
|
|
|
#define BUTTON2_PRESS BUTTON_MODE_TOGGLE |
|
|
|
#define BUTTON2_CLICK BUTTON_MODE_NONE |
|
|
|
#define BUTTON2_DBLCLICK BUTTON_MODE_NONE |
|
|
|
#define BUTTON2_LNGCLICK BUTTON_MODE_NONE |
|
|
|
#define BUTTON2_LNGLNGCLICK BUTTON_MODE_RESET |
|
|
|
|
|
|
|
#define BUTTON3_MODE BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH |
|
|
|
#define BUTTON3_PRESS BUTTON_MODE_TOGGLE |
|
|
|
#define BUTTON3_CLICK BUTTON_MODE_NONE |
|
|
|
#define BUTTON3_DBLCLICK BUTTON_MODE_NONE |
|
|
|
#define BUTTON3_LNGCLICK BUTTON_MODE_NONE |
|
|
|
#define BUTTON3_LNGLNGCLICK BUTTON_MODE_RESET |
|
|
|
|
|
|
|
#define BUTTON1_RELAY 1 |
|
|
|
#define BUTTON2_RELAY 2 |
|
|
|