diff options
author | QMK Bot <hello@qmk.fm> | 2023-01-02 22:13:00 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2023-01-02 22:13:00 +0000 |
commit | b497d58d6d0ca5a0d1432272147fe06e0ebfb802 (patch) | |
tree | 3acc7b936e37875816fe2d21736f6463287aa94e /keyboards/adpenrose/akemipad/akemipad.c | |
parent | 4b2fd4212254a8fed0d7e59aba3e43671f5bfbd2 (diff) | |
parent | 975d64cc2b344cc785f5c207740381acbd1d1d39 (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/adpenrose/akemipad/akemipad.c')
-rw-r--r-- | keyboards/adpenrose/akemipad/akemipad.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/keyboards/adpenrose/akemipad/akemipad.c b/keyboards/adpenrose/akemipad/akemipad.c index 9c5319bc81..647740927c 100644 --- a/keyboards/adpenrose/akemipad/akemipad.c +++ b/keyboards/adpenrose/akemipad/akemipad.c @@ -2,3 +2,26 @@ // SPDX-License-Identifier: GPL-2.0-or-later #include "akemipad.h" + +#ifdef RGB_MATRIX_ENABLE + +/* Setting up the LED matrix */ +led_config_t g_led_config = { { + // Key Matrix to LED Index + { 0, 1, 2, 3, NO_LED }, + { 4, 5, 6, 7, NO_LED }, + { 8, 9, 10, 11, 12 }, + { 13, 14, 15, 16, NO_LED }, + { 17, 18, 19, 20, 21 }, + { 22, 23, 24, 25, 26 }, +}, { + // LED Index to Physical Position + { 0,0 }, { 37,0 }, { 74,0 }, {111,0 }, { 0,34 }, { 37,34 }, { 74,34 }, {111,34 }, { 0,62 }, { 37,62 }, + { 74,62 }, {111,62 }, {120,75 }, { 0,89 }, { 37,89 }, { 74,89 }, {111,89 }, { 0,117}, { 37,117}, { 74,117}, + {111,117}, {120,130}, { 0,137}, { 18,144}, { 37,137}, { 74,144}, {111,144} +}, { + // LED Index to Flag + 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4 +} }; + +#endif |