1:Use the new name that matches the datasheet (CBx_CAx). 2:Update the GPIO configuration API(gpio_set_pin_output,gpio_write_pin)

This commit is contained in:
KeychronMacro 2024-07-06 11:19:56 +08:00
parent 126985a1f7
commit 93c95a6627
2 changed files with 99 additions and 99 deletions

View File

@ -23,110 +23,110 @@ const snled27351_led_t PROGMEM g_snled27351_leds[SNLED27351_LED_COUNT] = {
* driver * driver
* | LED address * | LED address
* | | */ * | | */
{0, F_1}, {0, CB6_CA1},
{0, F_3}, {0, CB6_CA3},
{0, F_4}, {0, CB6_CA4},
{0, F_5}, {0, CB6_CA5},
{0, F_6}, {0, CB6_CA6},
{0, F_7}, {0, CB6_CA7},
{0, F_8}, {0, CB6_CA8},
{0, F_9}, {0, CB6_CA9},
{0, F_10}, {0, CB6_CA10},
{0, F_11}, {0, CB6_CA11},
{0, F_12}, {0, CB6_CA12},
{0, F_13}, {0, CB6_CA13},
{0, F_14}, {0, CB6_CA14},
{0, F_15}, {0, CB6_CA15},
{0, F_16}, {0, CB6_CA16},
{0, C_13}, {0, CB3_CA13},
{0, E_1}, {0, CB5_CA1},
{0, E_2}, {0, CB5_CA2},
{0, E_3}, {0, CB5_CA3},
{0, E_4}, {0, CB5_CA4},
{0, E_5}, {0, CB5_CA5},
{0, E_6}, {0, CB5_CA6},
{0, E_7}, {0, CB5_CA7},
{0, E_8}, {0, CB5_CA8},
{0, E_9}, {0, CB5_CA9},
{0, E_10}, {0, CB5_CA10},
{0, E_11}, {0, CB5_CA11},
{0, E_12}, {0, CB5_CA12},
{0, E_13}, {0, CB5_CA13},
{0, E_14}, {0, CB5_CA14},
{0, E_15}, {0, CB5_CA15},
{0, E_16}, {0, CB5_CA16},
{0, C_15}, {0, CB3_CA15},
{0, D_1}, {0, CB4_CA1},
{0, D_2}, {0, CB4_CA2},
{0, D_3}, {0, CB4_CA3},
{0, D_4}, {0, CB4_CA4},
{0, D_5}, {0, CB4_CA5},
{0, D_6}, {0, CB4_CA6},
{0, D_7}, {0, CB4_CA7},
{0, D_8}, {0, CB4_CA8},
{0, D_9}, {0, CB4_CA9},
{0, D_10}, {0, CB4_CA10},
{0, D_11}, {0, CB4_CA11},
{0, D_12}, {0, CB4_CA12},
{0, D_13}, {0, CB4_CA13},
{0, D_14}, {0, CB4_CA14},
{0, D_15}, {0, CB4_CA15},
{0, D_16}, {0, CB4_CA16},
{0, C_16}, {0, CB3_CA16},
{0, C_1}, {0, CB3_CA1},
{0, C_2}, {0, CB3_CA2},
{0, C_3}, {0, CB3_CA3},
{0, C_4}, {0, CB3_CA4},
{0, C_5}, {0, CB3_CA5},
{0, C_6}, {0, CB3_CA6},
{0, C_7}, {0, CB3_CA7},
{0, C_8}, {0, CB3_CA8},
{0, C_9}, {0, CB3_CA9},
{0, C_10}, {0, CB3_CA10},
{0, C_11}, {0, CB3_CA11},
{0, C_12}, {0, CB3_CA12},
{0, C_14}, {0, CB3_CA14},
{0, B_1}, {0, CB2_CA1},
{0, B_3}, {0, CB2_CA3},
{0, B_4}, {0, CB2_CA4},
{0, B_5}, {0, CB2_CA5},
{0, B_6}, {0, CB2_CA6},
{0, B_7}, {0, CB2_CA7},
{0, B_8}, {0, CB2_CA8},
{0, B_9}, {0, CB2_CA9},
{0, B_10}, {0, CB2_CA10},
{0, B_11}, {0, CB2_CA11},
{0, B_12}, {0, CB2_CA12},
{0, B_14}, {0, CB2_CA14},
{0, B_16}, {0, CB2_CA16},
{0, A_1}, {0, CB1_CA1},
{0, A_2}, {0, CB1_CA2},
{0, A_3}, {0, CB1_CA3},
{0, A_7}, {0, CB1_CA7},
{0, A_11}, {0, CB1_CA11},
{0, A_12}, {0, CB1_CA12},
{0, A_13}, {0, CB1_CA13},
{0, A_14}, {0, CB1_CA14},
{0, A_15}, {0, CB1_CA15},
{0, A_16}, {0, CB1_CA16},
{0, B_15}, {0, CB2_CA15},
{0, G_1}, {0, CB7_CA1},
{0, G_2}, {0, CB7_CA2},
{0, G_3}, {0, CB7_CA3},
{0, G_4}, {0, CB7_CA4},
{0, G_5}, {0, CB7_CA5},
{0, G_6}, {0, CB7_CA6},
{0, G_12}, {0, CB7_CA12},
{0, G_11}, {0, CB7_CA11},
{0, G_10}, {0, CB7_CA10},
{0, G_9}, {0, CB7_CA9},
{0, G_8}, {0, CB7_CA8},
{0, G_7}, {0, CB7_CA7},
}; };
#endif #endif

0
keyboards/keychron/c3_pro/c3_pro.c Executable file → Normal file
View File