diff options
author | Joel Challis <[email protected]> | 2024-01-04 06:00:28 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-01-04 06:00:28 +0000 |
commit | c412b7fc423892e16280435387a645fc6e3b2c8a (patch) | |
tree | 7233451ca7f4843a161963f31bb33707e85b9475 /keyboards/bastardkb/tbkmini | |
parent | 5267329caa6ce08a5497d774bae0c8f386220a16 (diff) | |
download | qmk_firmware-c412b7fc423892e16280435387a645fc6e3b2c8a.tar.gz qmk_firmware-c412b7fc423892e16280435387a645fc6e3b2c8a.zip |
Migrate RGB Matrix config to info.json - B (#22806)
Diffstat (limited to 'keyboards/bastardkb/tbkmini')
-rw-r--r-- | keyboards/bastardkb/tbkmini/config.h | 29 | ||||
-rw-r--r-- | keyboards/bastardkb/tbkmini/info.json | 12 |
2 files changed, 12 insertions, 29 deletions
diff --git a/keyboards/bastardkb/tbkmini/config.h b/keyboards/bastardkb/tbkmini/config.h deleted file mode 100644 index 6705619ee3..0000000000 --- a/keyboards/bastardkb/tbkmini/config.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright 2021 Quentin LEBASTARD <[email protected]> - * Copyright 2022 Charly Delay <[email protected]> (@0xcharly) - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#pragma once - -/* RGB matrix support. */ -#ifdef RGB_MATRIX_ENABLE -# define SPLIT_TRANSPORT_MIRROR -# define RGB_MATRIX_LED_COUNT 42 -# define RGB_MATRIX_SPLIT { 21, 21 } -# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50 -# define RGB_MATRIX_SLEEP -# define RGB_MATRIX_KEYPRESSES -#endif diff --git a/keyboards/bastardkb/tbkmini/info.json b/keyboards/bastardkb/tbkmini/info.json index ec0433d387..ff2df9cdd6 100644 --- a/keyboards/bastardkb/tbkmini/info.json +++ b/keyboards/bastardkb/tbkmini/info.json @@ -3,10 +3,22 @@ "usb": { "pid": "0x1828" }, + "rgb_matrix": { + "max_brightness": 50, + "sleep": true, + "split_count": [21, 21] + }, "rgblight": { "led_count": 42, "split_count": [21, 21] }, + "split": { + "transport": { + "sync": { + "matrix_state": true + } + } + }, "community_layouts": ["split_3x6_3"], "layouts": { "LAYOUT_split_3x6_3": { |