File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Controllers/HyperXKeyboardController Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -139,23 +139,21 @@ void HyperXAlloyFPSController::SetLEDsDirect(std::vector<RGBColor> colors)
139
139
red_color_data
140
140
);
141
141
142
- std::this_thread::sleep_for (5ms );
142
+ std::this_thread::sleep_for (2ms );
143
143
144
144
SendDirect
145
145
(
146
146
HYPERX_ALLOY_FPS_COLOR_CHANNEL_GREEN,
147
147
grn_color_data
148
148
);
149
149
150
- std::this_thread::sleep_for (5ms );
150
+ std::this_thread::sleep_for (2ms );
151
151
152
152
SendDirect
153
153
(
154
154
HYPERX_ALLOY_FPS_COLOR_CHANNEL_BLUE,
155
155
blu_color_data
156
156
);
157
-
158
- std::this_thread::sleep_for (5ms);
159
157
}
160
158
161
159
void HyperXAlloyFPSController::SetLEDs (std::vector<RGBColor> colors)
@@ -179,7 +177,7 @@ void HyperXAlloyFPSController::SetLEDs(std::vector<RGBColor> colors)
179
177
red_color_data
180
178
);
181
179
182
- std::this_thread::sleep_for (15ms );
180
+ std::this_thread::sleep_for (5ms );
183
181
184
182
SendColor
185
183
(
@@ -188,16 +186,14 @@ void HyperXAlloyFPSController::SetLEDs(std::vector<RGBColor> colors)
188
186
grn_color_data
189
187
);
190
188
191
- std::this_thread::sleep_for (15ms );
189
+ std::this_thread::sleep_for (5ms );
192
190
193
191
SendColor
194
192
(
195
193
0x01 ,
196
194
HYPERX_ALLOY_FPS_COLOR_CHANNEL_BLUE,
197
195
blu_color_data
198
196
);
199
-
200
- std::this_thread::sleep_for (15ms);
201
197
}
202
198
203
199
/* -------------------------------------------------------------------------------------------------*\
You can’t perform that action at this time.
0 commit comments