Updated button map
@@ -585,14 +585,16 @@ static const Sensor::ButtonMap rgbgenie5121Map[] = {
// Off button
{ Sensor::ModeScenes, 0x01, 0x0006, 0x00, 0, S_BUTTON_2 + S_BUTTON_ACTION_SHORT_RELEASED, "Off" },
// Dim up
+ { Sensor::ModeScenes, 0x01, 0x0008, 0x06, 0, S_BUTTON_3 + S_BUTTON_ACTION_SHORT_RELEASED, "Step up (with on/off)" },
{ Sensor::ModeScenes, 0x01, 0x0008, 0x05, 0, S_BUTTON_3 + S_BUTTON_ACTION_HOLD, "Move up (with on/off)" },
{ Sensor::ModeScenes, 0x01, 0x0008, 0x07, 0, S_BUTTON_3 + S_BUTTON_ACTION_LONG_RELEASED, "Stop_ (with on/off)" },
// Dim down
+ { Sensor::ModeScenes, 0x01, 0x0008, 0x06, 1, S_BUTTON_4 + S_BUTTON_ACTION_SHORT_RELEASED, "Step down (with on/off)" },
{ Sensor::ModeScenes, 0x01, 0x0008, 0x05, 1, S_BUTTON_4 + S_BUTTON_ACTION_HOLD, "Move down (with on/off)" },
- { Sensor::ModeScenes, 0x01, 0x0008, 0x07, 1, S_BUTTON_4 + S_BUTTON_ACTION_LONG_RELEASED, "Stop_ (with on/off)" },
+ { Sensor::ModeScenes, 0x01, 0x0008, 0x07, 0, S_BUTTON_4 + S_BUTTON_ACTION_LONG_RELEASED, "Stop_ (with on/off)" },
// Scene button
- { Sensor::ModeScenes, 0x01, 0x0005, 0x05, 1, S_BUTTON_5 + S_BUTTON_ACTION_SHORT_RELEASED, "Recall scene 1" },
- { Sensor::ModeScenes, 0x01, 0x0005, 0x04, 1, S_BUTTON_5 + S_BUTTON_ACTION_LONG_RELEASED, "Store scene 1" },
+ { Sensor::ModeScenes, 0x01, 0x0005, 0x05, 0, S_BUTTON_5 + S_BUTTON_ACTION_SHORT_RELEASED, "Recall scene 1" },
+ { Sensor::ModeScenes, 0x01, 0x0005, 0x04, 0, S_BUTTON_5 + S_BUTTON_ACTION_LONG_RELEASED, "Store scene 1" },
// end
{ Sensor::ModeNone, 0x00, 0x0000, 0x00, 0, 0, nullptr }
};
