diff options
author | Albert Y <76888457+filterpaper@users.noreply.github.com> | 2022-05-20 13:44:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-19 22:44:28 -0700 |
commit | 90612fce92f560b4d8963482d75f36e642c1fb9f (patch) | |
tree | d99af322764cae52b8d3fa1acd299858f465747e /keyboards/s_ol | |
parent | 559148974764f296ed1ef06694dca29d20d8e162 (diff) | |
download | qmk_firmware-90612fce92f560b4d8963482d75f36e642c1fb9f.tar.gz qmk_firmware-90612fce92f560b4d8963482d75f36e642c1fb9f.zip |
[Keyboard] 0xc_pad LED index correction (#17120)
Diffstat (limited to 'keyboards/s_ol')
-rw-r--r-- | keyboards/s_ol/0xc_pad/0xc_pad.c | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/keyboards/s_ol/0xc_pad/0xc_pad.c b/keyboards/s_ol/0xc_pad/0xc_pad.c index b8dd2976ef..c471da92cc 100644 --- a/keyboards/s_ol/0xc_pad/0xc_pad.c +++ b/keyboards/s_ol/0xc_pad/0xc_pad.c @@ -16,15 +16,19 @@ #include "0xc_pad.h" #ifdef RGB_MATRIX_ENABLE -# define Q(...) __VA_ARGS__ - -led_config_t g_led_config = { +led_config_t g_led_config = { { // indices - LAYOUT(0, 6, 1, 5, 7, 2, 4, 8, 11, 3, 9, 10), + { 0, 6, KC_NO, KC_NO }, + { 1, 5, 7, KC_NO }, + { 2, 4, 8, 11 }, + { KC_NO, 3, 9, 10 } +}, { // phys position - LED_LAYOUT(Q({96, 110}), Q({128, 110}), Q({80, 83}), Q({112, 83}), Q({144, 83}), Q({64, 55}), Q({96, 55}), Q({128, 55}), Q({160, 55}), Q({80, 28}), Q({112, 28}), Q({144, 28})), + { 96, 110}, { 80, 83}, { 64, 55}, { 80, 28}, + { 96, 55}, {112, 83}, {128, 110}, {144, 83}, + {128, 55}, {112, 28}, {144, 28}, {160, 55} +}, { // flags - LED_LAYOUT(4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4), -}; -# undef Q + 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4 +} }; #endif |