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)
139139 red_color_data
140140 );
141141
142- std::this_thread::sleep_for (5ms );
142+ std::this_thread::sleep_for (2ms );
143143
144144 SendDirect
145145 (
146146 HYPERX_ALLOY_FPS_COLOR_CHANNEL_GREEN,
147147 grn_color_data
148148 );
149149
150- std::this_thread::sleep_for (5ms );
150+ std::this_thread::sleep_for (2ms );
151151
152152 SendDirect
153153 (
154154 HYPERX_ALLOY_FPS_COLOR_CHANNEL_BLUE,
155155 blu_color_data
156156 );
157-
158- std::this_thread::sleep_for (5ms);
159157}
160158
161159void HyperXAlloyFPSController::SetLEDs (std::vector<RGBColor> colors)
@@ -179,7 +177,7 @@ void HyperXAlloyFPSController::SetLEDs(std::vector<RGBColor> colors)
179177 red_color_data
180178 );
181179
182- std::this_thread::sleep_for (15ms );
180+ std::this_thread::sleep_for (5ms );
183181
184182 SendColor
185183 (
@@ -188,16 +186,14 @@ void HyperXAlloyFPSController::SetLEDs(std::vector<RGBColor> colors)
188186 grn_color_data
189187 );
190188
191- std::this_thread::sleep_for (15ms );
189+ std::this_thread::sleep_for (5ms );
192190
193191 SendColor
194192 (
195193 0x01 ,
196194 HYPERX_ALLOY_FPS_COLOR_CHANNEL_BLUE,
197195 blu_color_data
198196 );
199-
200- std::this_thread::sleep_for (15ms);
201197}
202198
203199/* -------------------------------------------------------------------------------------------------*\
You can’t perform that action at this time.
0 commit comments