taniks: add RGB mapping table
Add RGB led mapping table.
BRANCH=none
TEST=make buildall -j
ectool rgbkbd 1 0xffffff
ectool rgbkbd 40 0xffffff
ectool rgbkbd clear 0x000000
@@ -68,6 +68,47 @@ const uint8_t rgbkbd_vsize = RGB_GRID0_ROW;
const uint8_t rgbkbd_map[] = {
RGBKBD_DELM,
+ RGBKBD_COORD( 0, 0), RGBKBD_DELM,
+ RGBKBD_COORD( 1, 0), RGBKBD_DELM,
+ RGBKBD_COORD( 2, 0), RGBKBD_DELM,
+ RGBKBD_COORD( 3, 0), RGBKBD_DELM,
+ RGBKBD_COORD( 4, 0), RGBKBD_DELM,
+ RGBKBD_COORD( 5, 0), RGBKBD_DELM,
+ RGBKBD_COORD( 6, 0), RGBKBD_DELM,
+ RGBKBD_COORD( 7, 0), RGBKBD_DELM,
+ RGBKBD_COORD( 0, 1), RGBKBD_DELM,
+ RGBKBD_COORD( 1, 1), RGBKBD_DELM,
+ RGBKBD_COORD( 2, 1), RGBKBD_DELM,
+ RGBKBD_COORD( 3, 1), RGBKBD_DELM,
+ RGBKBD_COORD( 4, 1), RGBKBD_DELM,
+ RGBKBD_COORD( 5, 1), RGBKBD_DELM,
+ RGBKBD_COORD( 6, 1), RGBKBD_DELM,
+ RGBKBD_COORD( 7, 1), RGBKBD_DELM,
+ RGBKBD_COORD( 0, 2), RGBKBD_DELM,
+ RGBKBD_COORD( 1, 2), RGBKBD_DELM,
+ RGBKBD_COORD( 2, 2), RGBKBD_DELM,
+ RGBKBD_COORD( 3, 2), RGBKBD_DELM,
+ RGBKBD_COORD( 4, 2), RGBKBD_DELM,
+ RGBKBD_COORD( 5, 2), RGBKBD_DELM,
+ RGBKBD_COORD( 6, 2), RGBKBD_DELM,
+ RGBKBD_COORD( 7, 2), RGBKBD_DELM,
+ RGBKBD_COORD( 0, 3), RGBKBD_DELM,
+ RGBKBD_COORD( 1, 3), RGBKBD_DELM,
+ RGBKBD_COORD( 2, 3), RGBKBD_DELM,
+ RGBKBD_COORD( 3, 3), RGBKBD_DELM,
+ RGBKBD_COORD( 4, 3), RGBKBD_DELM,
+ RGBKBD_COORD( 5, 3), RGBKBD_DELM,
+ RGBKBD_COORD( 6, 3), RGBKBD_DELM,
+ RGBKBD_COORD( 7, 3), RGBKBD_DELM,
+ RGBKBD_COORD( 0, 4), RGBKBD_DELM,
+ RGBKBD_COORD( 1, 4), RGBKBD_DELM,
+ RGBKBD_COORD( 2, 4), RGBKBD_DELM,
+ RGBKBD_COORD( 3, 4), RGBKBD_DELM,
+ RGBKBD_COORD( 4, 4), RGBKBD_DELM,
+ RGBKBD_COORD( 5, 4), RGBKBD_DELM,
+ RGBKBD_COORD( 6, 4), RGBKBD_DELM,
+ RGBKBD_COORD( 7, 4), RGBKBD_DELM,
+ RGBKBD_DELM,
};
const size_t rgbkbd_map_size = ARRAY_SIZE(rgbkbd_map);
