Create a common type for storing QMK LED info and use it in both VialRGB and Keychron controllers

This commit is contained in:
Adam Honse
2026-06-24 11:45:05 -05:00
parent 8fdd0e40f8
commit c5abe47859
7 changed files with 99 additions and 91 deletions

View File

@@ -190,7 +190,7 @@ unsigned short QMKKeychronController::GetLEDCount()
return(number_leds);
}
kc_led_info QMKKeychronController::GetLEDInfo(unsigned short led_index)
qmk_rgb_matrix_led_info QMKKeychronController::GetLEDInfo(unsigned short led_index)
{
return(led_info[led_index]);
}