mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-05-13 00:54:36 -04:00
Automatic generation of markdown pages for supported devices
+ Added build-supported-devices.sh script + Added new target in CI/CD to build at compile time
This commit is contained in:
@@ -145,6 +145,7 @@ static const led_type led_names[] =
|
||||
|
||||
/**------------------------------------------------------------------*\
|
||||
@name Logitech G Pro
|
||||
@category Keyboard
|
||||
@type USB
|
||||
@save :warning:
|
||||
@direct :white_check_mark:
|
||||
@@ -179,7 +180,7 @@ RGBController_LogitechGProKeyboard::RGBController_LogitechGProKeyboard(LogitechG
|
||||
Static.color_mode = MODE_COLORS_MODE_SPECIFIC;
|
||||
Static.colors.resize(1);
|
||||
modes.push_back(Static);
|
||||
|
||||
|
||||
mode Off;
|
||||
Off.name = "Off";
|
||||
Off.value = LOGITECH_GPRO_MODE_OFF;
|
||||
@@ -307,7 +308,7 @@ void RGBController_LogitechGProKeyboard::DeviceUpdateLEDs()
|
||||
frame_buf[(frame_cnt * 4) + 1] = RGBGetRValue(colors[led_idx]);
|
||||
frame_buf[(frame_cnt * 4) + 2] = RGBGetGValue(colors[led_idx]);
|
||||
frame_buf[(frame_cnt * 4) + 3] = RGBGetBValue(colors[led_idx]);
|
||||
|
||||
|
||||
frame_cnt++;
|
||||
prev_zone = zone;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user