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:
Chris 2022-05-25 17:58:59 +10:00
parent a7adfe251b
commit 524675108d
163 changed files with 699 additions and 265 deletions

View file

@ -221,6 +221,7 @@ typedef struct
/**------------------------------------------------------------------*\
@name Corsair K100 Keyboard
@category Keyboard
@type USB
@save :x:
@direct :white_check_mark:

View file

@ -11,6 +11,7 @@ using namespace std::chrono_literals;
/**------------------------------------------------------------------*\
@name Corsair K55 RGB Pro
@category Keyboard
@type USB
@save :x:
@direct :white_check_mark:

View file

@ -122,6 +122,7 @@ std::vector<std::tuple<unsigned int, std::string>> keys =
/**------------------------------------------------------------------*\
@name Corsair K65 Mini
@category Keyboard
@type USB
@save :x:
@direct :white_check_mark:

View file

@ -756,8 +756,9 @@ static const char* corsair_harpoon_pro_leds[] =
/**------------------------------------------------------------------*\
@name Corsair Peripheral
@category Keyboard,Mouse,Mousemat,HeadsetStand
@type USB
@save :white_check_mark: or :warning: or :x:
@save :x:
@direct :white_check_mark:
@effects :x:
@detectors DetectCorsairPeripheralControllers
@ -1037,14 +1038,14 @@ void RGBController_CorsairPeripheral::SetupZones()
new_led.name = corsair_mouse_leds[led_idx];
}
break;
case DEVICE_TYPE_MOUSEMAT:
case DEVICE_TYPE_HEADSET_STAND:
new_led.name = "Mousemat LED ";
new_led.name.append(std::to_string(led_idx + 1));
break;
}
leds.push_back(new_led);
}