From 1022afa6c24a64c78d1c9be99a695ff5335876f7 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 11 Mar 2023 04:59:07 +1100 Subject: Move matrix config to info.json, part 8 (#20030) --- keyboards/kapl/rev1/config.h | 7 ------- keyboards/kapl/rev1/info.json | 5 +++++ 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'keyboards/kapl') diff --git a/keyboards/kapl/rev1/config.h b/keyboards/kapl/rev1/config.h index b99ab977a8..155c94909f 100644 --- a/keyboards/kapl/rev1/config.h +++ b/keyboards/kapl/rev1/config.h @@ -2,13 +2,6 @@ // SPDX-License-Identifier: GPL-2.0-or-later #pragma once -// wiring of each half -#define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 } -#define MATRIX_COL_PINS { F5, F6, F7, B1, B3, B2, B6 } - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION COL2ROW - /* Select hand configuration */ #define MASTER_LEFT diff --git a/keyboards/kapl/rev1/info.json b/keyboards/kapl/rev1/info.json index 483bc655c0..7bd8f7f36c 100644 --- a/keyboards/kapl/rev1/info.json +++ b/keyboards/kapl/rev1/info.json @@ -8,6 +8,11 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"], + "rows": ["C6", "D7", "E6", "B4", "B5"] + }, + "diode_direction": "COL2ROW", "split": { "soft_serial_pin": "D2" }, -- cgit v1.2.3 From 9dbee3e23d28e5f61384bbb5650505a572022341 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 16 Mar 2023 20:18:33 +1100 Subject: Remove useless "ifdef KEYBOARD_*" (#20078) Co-authored-by: Nick Brassel --- keyboards/kapl/kapl.c | 3 --- keyboards/kapl/kapl.h | 8 -------- keyboards/kapl/rev1/rev1.c | 2 +- keyboards/kapl/rev1/rev1.h | 2 +- 4 files changed, 2 insertions(+), 13 deletions(-) delete mode 100644 keyboards/kapl/kapl.c delete mode 100644 keyboards/kapl/kapl.h (limited to 'keyboards/kapl') diff --git a/keyboards/kapl/kapl.c b/keyboards/kapl/kapl.c deleted file mode 100644 index 165900e142..0000000000 --- a/keyboards/kapl/kapl.c +++ /dev/null @@ -1,3 +0,0 @@ -// Copyright 2022 Alexander Lozyuk (@keyzog) -// SPDX-License-Identifier: GPL-2.0-or-later -#include "kapl.h" diff --git a/keyboards/kapl/kapl.h b/keyboards/kapl/kapl.h deleted file mode 100644 index 019e3267d4..0000000000 --- a/keyboards/kapl/kapl.h +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright 2022 Alexander Lozyuk (@keyzog) -// SPDX-License-Identifier: GPL-2.0-or-later -#pragma once -#include "quantum.h" - -#ifdef KEYBOARD_kapl_rev1 -# include "rev1.h" -#endif diff --git a/keyboards/kapl/rev1/rev1.c b/keyboards/kapl/rev1/rev1.c index b51021307e..e0e32cf5e8 100644 --- a/keyboards/kapl/rev1/rev1.c +++ b/keyboards/kapl/rev1/rev1.c @@ -1,6 +1,6 @@ // Copyright 2022 Alexander Lozyuk (@keyzog) // SPDX-License-Identifier: GPL-2.0-or-later -#include "kapl.h" +#include "rev1.h" #ifdef RGB_MATRIX_ENABLE led_config_t g_led_config = { { diff --git a/keyboards/kapl/rev1/rev1.h b/keyboards/kapl/rev1/rev1.h index 68649a7991..686ff89e92 100644 --- a/keyboards/kapl/rev1/rev1.h +++ b/keyboards/kapl/rev1/rev1.h @@ -2,7 +2,7 @@ // SPDX-License-Identifier: GPL-2.0-or-later #pragma once -#include "kapl.h" +#include "quantum.h" /* This a shortcut to help you visually see your layout. * -- cgit v1.2.3 From d8aec71e485b63408474829436f55cb1af0ea903 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 18 Mar 2023 01:21:53 +1100 Subject: Remove trailing zeroes in info.json layouts (#20156) --- keyboards/kapl/rev1/info.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'keyboards/kapl') diff --git a/keyboards/kapl/rev1/info.json b/keyboards/kapl/rev1/info.json index 7bd8f7f36c..02779825f1 100644 --- a/keyboards/kapl/rev1/info.json +++ b/keyboards/kapl/rev1/info.json @@ -54,14 +54,14 @@ {"label":"L20", "x":0, "y":2.38}, {"label":"L21", "x":1, "y":2.38}, {"label":"L22", "x":2, "y":2.13}, - {"label":"L23", "x":3, "y":2.0}, + {"label":"L23", "x":3, "y":2}, {"label":"L24", "x":4, "y":2.13}, {"label":"L25", "x":5, "y":2.25}, {"label":"L26", "x":6, "y":2.35}, {"label":"R20", "x":8.67, "y":2.35}, {"label":"R21", "x":9.67, "y":2.25}, {"label":"R22", "x":10.67, "y":2.13}, - {"label":"R23", "x":11.67, "y":2.0}, + {"label":"R23", "x":11.67, "y":2}, {"label":"R24", "x":12.67, "y":2.13}, {"label":"R25", "x":13.67, "y":2.38}, {"label":"R26", "x":14.67, "y":2.38}, @@ -69,14 +69,14 @@ {"label":"L30", "x":0, "y":3.38}, {"label":"L31", "x":1, "y":3.38}, {"label":"L32", "x":2, "y":3.13}, - {"label":"L33", "x":3, "y":3.0}, + {"label":"L33", "x":3, "y":3}, {"label":"L34", "x":4, "y":3.13}, {"label":"L35", "x":5, "y":3.25}, {"label":"L36", "x":6, "y":3.35}, {"label":"R30", "x":8.67, "y":3.35}, {"label":"R31", "x":9.67, "y":3.25}, {"label":"R32", "x":10.67, "y":3.13}, - {"label":"R33", "x":11.67, "y":3.0}, + {"label":"R33", "x":11.67, "y":3}, {"label":"R34", "x":12.67, "y":3.13}, {"label":"R35", "x":13.67, "y":3.38}, {"label":"R36", "x":14.67, "y":3.38}, @@ -84,14 +84,14 @@ {"label":"L40", "x":0, "y":4.38}, {"label":"L41", "x":1, "y":4.38}, {"label":"L42", "x":2, "y":4.13}, - {"label":"L43", "x":3, "y":4.0}, + {"label":"L43", "x":3, "y":4}, {"label":"L44", "x":4, "y":4.13}, {"label":"L45", "x":5.35, "y":4.92}, {"label":"L46", "x":6.35, "y":4.45, "h":1.5}, {"label":"R40", "x":8.02, "y":4.45, "h":1.5}, {"label":"R41", "x":9.02, "y":4.92}, {"label":"R42", "x":10.67, "y":4.13}, - {"label":"R43", "x":11.67, "y":4.0}, + {"label":"R43", "x":11.67, "y":4}, {"label":"R44", "x":12.67, "y":4.13}, {"label":"R45", "x":13.67, "y":4.38}, {"label":"R46", "x":14.67, "y":4.38} -- cgit v1.2.3 From 47966dc2a65c88ac90fcd64d12243d72f3f6753b Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 6 Apr 2023 18:00:54 +1000 Subject: Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303) --- keyboards/kapl/rev1/config.h | 2 -- keyboards/kapl/rev1/info.json | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'keyboards/kapl') diff --git a/keyboards/kapl/rev1/config.h b/keyboards/kapl/rev1/config.h index 155c94909f..387e26aa73 100644 --- a/keyboards/kapl/rev1/config.h +++ b/keyboards/kapl/rev1/config.h @@ -5,8 +5,6 @@ /* Select hand configuration */ #define MASTER_LEFT - -#define RGB_DI_PIN D4 #define RGBLED_NUM 88 #define RGBLED_SPLIT { 44, 44 } #define RGBLIGHT_SPLIT diff --git a/keyboards/kapl/rev1/info.json b/keyboards/kapl/rev1/info.json index 02779825f1..af54d39db7 100644 --- a/keyboards/kapl/rev1/info.json +++ b/keyboards/kapl/rev1/info.json @@ -8,6 +8,9 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "ws2812": { + "pin": "D4" + }, "matrix_pins": { "cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"], "rows": ["C6", "D7", "E6", "B4", "B5"] -- cgit v1.2.3 From 522048725f6b076bdad1251243c65dd2acf6595d Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 8 Apr 2023 18:08:08 +1000 Subject: Move `RGB_MATRIX_DRIVER` to data driven (#20350) --- keyboards/kapl/rev1/info.json | 3 +++ keyboards/kapl/rev1/rules.mk | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'keyboards/kapl') diff --git a/keyboards/kapl/rev1/info.json b/keyboards/kapl/rev1/info.json index af54d39db7..9c5891d119 100644 --- a/keyboards/kapl/rev1/info.json +++ b/keyboards/kapl/rev1/info.json @@ -11,6 +11,9 @@ "ws2812": { "pin": "D4" }, + "rgb_matrix": { + "driver": "WS2812" + }, "matrix_pins": { "cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"], "rows": ["C6", "D7", "E6", "B4", "B5"] diff --git a/keyboards/kapl/rev1/rules.mk b/keyboards/kapl/rev1/rules.mk index e3a4137694..95bef6d3a7 100644 --- a/keyboards/kapl/rev1/rules.mk +++ b/keyboards/kapl/rev1/rules.mk @@ -1,5 +1,4 @@ # Do not enable RGB_MATRIX_ENABLE together with RGBLIGHT_ENABLE RGB_MATRIX_ENABLE = yes -RGB_MATRIX_DRIVER = WS2812 LTO_ENABLE = yes -- cgit v1.2.3 From 5bd68e3695a82ff504c358c33445b4530c2a327f Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 12 Apr 2023 13:42:51 +1000 Subject: Move single `LAYOUT`s to data driven (#20365) --- keyboards/kapl/rev1/info.json | 153 ++++++++++++++++++++++-------------------- keyboards/kapl/rev1/rev1.c | 2 +- keyboards/kapl/rev1/rev1.h | 34 ---------- 3 files changed, 80 insertions(+), 109 deletions(-) delete mode 100644 keyboards/kapl/rev1/rev1.h (limited to 'keyboards/kapl') diff --git a/keyboards/kapl/rev1/info.json b/keyboards/kapl/rev1/info.json index 9c5891d119..f9da64a380 100644 --- a/keyboards/kapl/rev1/info.json +++ b/keyboards/kapl/rev1/info.json @@ -25,83 +25,88 @@ "processor": "atmega32u4", "bootloader": "caterina", "layouts": { - "LAYOUT": { - "layout": [ - {"label":"L00", "x":0, "y":0.38}, - {"label":"L01", "x":1, "y":0.38}, - {"label":"L02", "x":2, "y":0.13}, - {"label":"L03", "x":3, "y":0}, - {"label":"L04", "x":4, "y":0.13}, - {"label":"L05", "x":5, "y":0.25}, - {"label":"L06", "x":6, "y":0.35}, - {"label":"R00", "x":8.67, "y":0.35}, - {"label":"R01", "x":9.67, "y":0.25}, - {"label":"R02", "x":10.67, "y":0.13}, - {"label":"R03", "x":11.67, "y":0}, - {"label":"R04", "x":12.67, "y":0.13}, - {"label":"R05", "x":13.67, "y":0.38}, - {"label":"R06", "x":14.67, "y":0.38}, + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0.38}, + {"matrix": [0, 1], "x": 1, "y": 0.38}, + {"matrix": [0, 2], "x": 2, "y": 0.13}, + {"matrix": [0, 3], "x": 3, "y": 0}, + {"matrix": [0, 4], "x": 4, "y": 0.13}, + {"matrix": [0, 5], "x": 5, "y": 0.25}, + {"matrix": [0, 6], "x": 6, "y": 0.35}, - {"label":"L10", "x":0, "y":1.38}, - {"label":"L11", "x":1, "y":1.38}, - {"label":"L12", "x":2, "y":1.13}, - {"label":"L13", "x":3, "y":1}, - {"label":"L14", "x":4, "y":1.13}, - {"label":"L15", "x":5, "y":1.25}, - {"label":"L16", "x":6, "y":1.35}, - {"label":"R10", "x":8.67, "y":1.35}, - {"label":"R11", "x":9.67, "y":1.25}, - {"label":"R12", "x":10.67, "y":1.13}, - {"label":"R13", "x":11.67, "y":1}, - {"label":"R14", "x":12.67, "y":1.13}, - {"label":"R15", "x":13.67, "y":1.38}, - {"label":"R16", "x":14.67, "y":1.38}, + {"matrix": [5, 6], "x": 8.67, "y": 0.35}, + {"matrix": [5, 5], "x": 9.67, "y": 0.25}, + {"matrix": [5, 4], "x": 10.67, "y": 0.13}, + {"matrix": [5, 3], "x": 11.67, "y": 0}, + {"matrix": [5, 2], "x": 12.67, "y": 0.13}, + {"matrix": [5, 1], "x": 13.67, "y": 0.38}, + {"matrix": [5, 0], "x": 14.67, "y": 0.38}, - {"label":"L20", "x":0, "y":2.38}, - {"label":"L21", "x":1, "y":2.38}, - {"label":"L22", "x":2, "y":2.13}, - {"label":"L23", "x":3, "y":2}, - {"label":"L24", "x":4, "y":2.13}, - {"label":"L25", "x":5, "y":2.25}, - {"label":"L26", "x":6, "y":2.35}, - {"label":"R20", "x":8.67, "y":2.35}, - {"label":"R21", "x":9.67, "y":2.25}, - {"label":"R22", "x":10.67, "y":2.13}, - {"label":"R23", "x":11.67, "y":2}, - {"label":"R24", "x":12.67, "y":2.13}, - {"label":"R25", "x":13.67, "y":2.38}, - {"label":"R26", "x":14.67, "y":2.38}, + {"matrix": [1, 0], "x": 0, "y": 1.38}, + {"matrix": [1, 1], "x": 1, "y": 1.38}, + {"matrix": [1, 2], "x": 2, "y": 1.13}, + {"matrix": [1, 3], "x": 3, "y": 1}, + {"matrix": [1, 4], "x": 4, "y": 1.13}, + {"matrix": [1, 5], "x": 5, "y": 1.25}, + {"matrix": [1, 6], "x": 6, "y": 1.35}, - {"label":"L30", "x":0, "y":3.38}, - {"label":"L31", "x":1, "y":3.38}, - {"label":"L32", "x":2, "y":3.13}, - {"label":"L33", "x":3, "y":3}, - {"label":"L34", "x":4, "y":3.13}, - {"label":"L35", "x":5, "y":3.25}, - {"label":"L36", "x":6, "y":3.35}, - {"label":"R30", "x":8.67, "y":3.35}, - {"label":"R31", "x":9.67, "y":3.25}, - {"label":"R32", "x":10.67, "y":3.13}, - {"label":"R33", "x":11.67, "y":3}, - {"label":"R34", "x":12.67, "y":3.13}, - {"label":"R35", "x":13.67, "y":3.38}, - {"label":"R36", "x":14.67, "y":3.38}, + {"matrix": [6, 6], "x": 8.67, "y": 1.35}, + {"matrix": [6, 5], "x": 9.67, "y": 1.25}, + {"matrix": [6, 4], "x": 10.67, "y": 1.13}, + {"matrix": [6, 3], "x": 11.67, "y": 1}, + {"matrix": [6, 2], "x": 12.67, "y": 1.13}, + {"matrix": [6, 1], "x": 13.67, "y": 1.38}, + {"matrix": [6, 0], "x": 14.67, "y": 1.38}, - {"label":"L40", "x":0, "y":4.38}, - {"label":"L41", "x":1, "y":4.38}, - {"label":"L42", "x":2, "y":4.13}, - {"label":"L43", "x":3, "y":4}, - {"label":"L44", "x":4, "y":4.13}, - {"label":"L45", "x":5.35, "y":4.92}, - {"label":"L46", "x":6.35, "y":4.45, "h":1.5}, - {"label":"R40", "x":8.02, "y":4.45, "h":1.5}, - {"label":"R41", "x":9.02, "y":4.92}, - {"label":"R42", "x":10.67, "y":4.13}, - {"label":"R43", "x":11.67, "y":4}, - {"label":"R44", "x":12.67, "y":4.13}, - {"label":"R45", "x":13.67, "y":4.38}, - {"label":"R46", "x":14.67, "y":4.38} - ] - } + {"matrix": [2, 0], "x": 0, "y": 2.38}, + {"matrix": [2, 1], "x": 1, "y": 2.38}, + {"matrix": [2, 2], "x": 2, "y": 2.13}, + {"matrix": [2, 3], "x": 3, "y": 2}, + {"matrix": [2, 4], "x": 4, "y": 2.13}, + {"matrix": [2, 5], "x": 5, "y": 2.25}, + {"matrix": [2, 6], "x": 6, "y": 2.35}, + + {"matrix": [7, 6], "x": 8.67, "y": 2.35}, + {"matrix": [7, 5], "x": 9.67, "y": 2.25}, + {"matrix": [7, 4], "x": 10.67, "y": 2.13}, + {"matrix": [7, 3], "x": 11.67, "y": 2}, + {"matrix": [7, 2], "x": 12.67, "y": 2.13}, + {"matrix": [7, 1], "x": 13.67, "y": 2.38}, + {"matrix": [7, 0], "x": 14.67, "y": 2.38}, + + {"matrix": [3, 0], "x": 0, "y": 3.38}, + {"matrix": [3, 1], "x": 1, "y": 3.38}, + {"matrix": [3, 2], "x": 2, "y": 3.13}, + {"matrix": [3, 3], "x": 3, "y": 3}, + {"matrix": [3, 4], "x": 4, "y": 3.13}, + {"matrix": [3, 5], "x": 5, "y": 3.25}, + {"matrix": [3, 6], "x": 6, "y": 3.35}, + + {"matrix": [8, 6], "x": 8.67, "y": 3.35}, + {"matrix": [8, 5], "x": 9.67, "y": 3.25}, + {"matrix": [8, 4], "x": 10.67, "y": 3.13}, + {"matrix": [8, 3], "x": 11.67, "y": 3}, + {"matrix": [8, 2], "x": 12.67, "y": 3.13}, + {"matrix": [8, 1], "x": 13.67, "y": 3.38}, + {"matrix": [8, 0], "x": 14.67, "y": 3.38}, + + {"matrix": [4, 0], "x": 0, "y": 4.38}, + {"matrix": [4, 1], "x": 1, "y": 4.38}, + {"matrix": [4, 2], "x": 2, "y": 4.13}, + {"matrix": [4, 3], "x": 3, "y": 4}, + {"matrix": [4, 4], "x": 4, "y": 4.13}, + {"matrix": [4, 5], "x": 5.35, "y": 4.92}, + {"matrix": [4, 6], "x": 6.35, "y": 4.45, "h": 1.5}, + + {"matrix": [9, 6], "x": 8.02, "y": 4.45, "h": 1.5}, + {"matrix": [9, 5], "x": 9.02, "y": 4.92}, + {"matrix": [9, 4], "x": 10.67, "y": 4.13}, + {"matrix": [9, 3], "x": 11.67, "y": 4}, + {"matrix": [9, 2], "x": 12.67, "y": 4.13}, + {"matrix": [9, 1], "x": 13.67, "y": 4.38}, + {"matrix": [9, 0], "x": 14.67, "y": 4.38} + ] + } } } diff --git a/keyboards/kapl/rev1/rev1.c b/keyboards/kapl/rev1/rev1.c index e0e32cf5e8..fd3b9289dc 100644 --- a/keyboards/kapl/rev1/rev1.c +++ b/keyboards/kapl/rev1/rev1.c @@ -1,6 +1,6 @@ // Copyright 2022 Alexander Lozyuk (@keyzog) // SPDX-License-Identifier: GPL-2.0-or-later -#include "rev1.h" +#include "quantum.h" #ifdef RGB_MATRIX_ENABLE led_config_t g_led_config = { { diff --git a/keyboards/kapl/rev1/rev1.h b/keyboards/kapl/rev1/rev1.h deleted file mode 100644 index 686ff89e92..0000000000 --- a/keyboards/kapl/rev1/rev1.h +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2022 Alexander Lozyuk (@keyzog) -// SPDX-License-Identifier: GPL-2.0-or-later -#pragma once - -#include "quantum.h" - -/* This a shortcut to help you visually see your layout. - * - * The first section contains all of the arguments representing the physical - * layout of the board and position of the keys. - * - * The second converts the arguments into a two-dimensional array which - * represents the switch matrix. - */ - -#define LAYOUT( \ - L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R06, \ - L10, L11, L12, L13, L14, L15, L16, R10, R11, R12, R13, R14, R15, R16, \ - L20, L21, L22, L23, L24, L25, L26, R20, R21, R22, R23, R24, R25, R26, \ - L30, L31, L32, L33, L34, L35, L36, R30, R31, R32, R33, R34, R35, R36, \ - L40, L41, L42, L43, L44, L45, L46, R40, R41, R42, R43, R44, R45, R46 \ -) \ -{ \ - { L00, L01, L02, L03, L04, L05, L06 }, \ - { L10, L11, L12, L13, L14, L15, L16 }, \ - { L20, L21, L22, L23, L24, L25, L26 }, \ - { L30, L31, L32, L33, L34, L35, L36 }, \ - { L40, L41, L42, L43, L44, L45, L46 }, \ - { R06, R05, R04, R03, R02, R01, R00 }, \ - { R16, R15, R14, R13, R12, R11, R10 }, \ - { R26, R25, R24, R23, R22, R21, R20 }, \ - { R36, R35, R34, R33, R32, R31, R30 }, \ - { R46, R45, R44, R43, R42, R41, R40 } \ -} -- cgit v1.2.3 From 363bfdbfda5ea9fa996390920a9e8982535b76c8 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 27 May 2023 12:27:44 +1000 Subject: Move `RGBLIGHT_LIMIT_VAL` to data driven (#20974) Co-authored-by: Nick Brassel --- keyboards/kapl/rev1/config.h | 1 - keyboards/kapl/rev1/info.json | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'keyboards/kapl') diff --git a/keyboards/kapl/rev1/config.h b/keyboards/kapl/rev1/config.h index 387e26aa73..8dc6718d1a 100644 --- a/keyboards/kapl/rev1/config.h +++ b/keyboards/kapl/rev1/config.h @@ -8,7 +8,6 @@ #define RGBLED_NUM 88 #define RGBLED_SPLIT { 44, 44 } #define RGBLIGHT_SPLIT -#define RGBLIGHT_LIMIT_VAL 120 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash. #define RGB_MATRIX_LED_COUNT 88 #define RGB_MATRIX_SPLIT { 44, 44 } diff --git a/keyboards/kapl/rev1/info.json b/keyboards/kapl/rev1/info.json index f9da64a380..ad310fa87c 100644 --- a/keyboards/kapl/rev1/info.json +++ b/keyboards/kapl/rev1/info.json @@ -14,6 +14,9 @@ "rgb_matrix": { "driver": "WS2812" }, + "rgblight": { + "max_brightness": 120 + }, "matrix_pins": { "cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"], "rows": ["C6", "D7", "E6", "B4", "B5"] -- cgit v1.2.3