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

@ -188,9 +188,10 @@ static const char *led_names[] =
/**------------------------------------------------------------------*\
@name Ducky Keyboard
@category Keyboard
@type USB
@save :x:
@direct :white_check_mark
@direct :white_check_mark:
@effects :x:
@detectors DetectDuckyKeyboardControllers
@comment
@ -291,11 +292,11 @@ void RGBController_DuckyKeyboard::ResizeZone(int /*zone*/, int /*new_size*/)
| This device does not support resizing zones |
\*---------------------------------------------------------*/
}
void RGBController_DuckyKeyboard::DeviceUpdateLEDs()
{
unsigned char colordata[155*3];
for(std::size_t color_idx = 0; color_idx < colors.size(); color_idx++)
{
colordata[(color_idx*3)+0] = RGBGetRValue(colors[color_idx]);