Skip to content

Commit c769c20

Browse files
Move static mode to top of Redragon M711 mode list
1 parent 2a43cef commit c769c20

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

RGBController/RGBController_RedragonM711.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ RGBController_RedragonM711::RGBController_RedragonM711(RedragonM711Controller* r
1717
type = DEVICE_TYPE_MOUSE;
1818
description = "Redragon M711 Device";
1919

20+
mode Static;
21+
Static.name = "Static";
22+
Static.value = REDRAGON_M711_MODE_STATIC;
23+
Static.flags = MODE_FLAG_HAS_PER_LED_COLOR;
24+
Static.color_mode = MODE_COLORS_PER_LED;
25+
modes.push_back(Static);
26+
2027
mode Wave;
2128
Wave.name = "Wave";
2229
Wave.value = REDRAGON_M711_MODE_WAVE;
@@ -31,13 +38,6 @@ RGBController_RedragonM711::RGBController_RedragonM711(RedragonM711Controller* r
3138
Breathing.color_mode = MODE_COLORS_PER_LED;
3239
modes.push_back(Breathing);
3340

34-
mode Static;
35-
Static.name = "Static";
36-
Static.value = REDRAGON_M711_MODE_STATIC;
37-
Static.flags = MODE_FLAG_HAS_PER_LED_COLOR;
38-
Static.color_mode = MODE_COLORS_PER_LED;
39-
modes.push_back(Static);
40-
4141
mode Rainbow;
4242
Rainbow.name = "Rainbow";
4343
Rainbow.value = REDRAGON_M711_MODE_RAINBOW;

0 commit comments

Comments
 (0)