Add quad press event for Xiaomi round one button switch
Issue
@@ -238,6 +238,7 @@ static const Sensor::ButtonMap xiaomiSwitchAq2Map[] = {
{ Sensor::ModeScenes, 0x01, 0x0006, 0x0a, 0, S_BUTTON_1 + S_BUTTON_ACTION_SHORT_RELEASED, "Normal press" },
{ Sensor::ModeScenes, 0x01, 0x0006, 0x0a, 2, S_BUTTON_2 + S_BUTTON_ACTION_SHORT_RELEASED, "Double press" },
{ Sensor::ModeScenes, 0x01, 0x0006, 0x0a, 3, S_BUTTON_3 + S_BUTTON_ACTION_SHORT_RELEASED, "Triple press" },
+ { Sensor::ModeScenes, 0x01, 0x0006, 0x0a, 4, S_BUTTON_4 + S_BUTTON_ACTION_SHORT_RELEASED, "Quad press" },
// end
{ Sensor::ModeNone, 0x00, 0x0000, 0x00, 0, 0, 0 }
