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/scylla | |
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/scylla')
-rw-r--r-- | keyboards/bastardkb/scylla/config.h | 29 | ||||
-rw-r--r-- | keyboards/bastardkb/scylla/info.json | 12 |
2 files changed, 12 insertions, 29 deletions
diff --git a/keyboards/bastardkb/scylla/config.h b/keyboards/bastardkb/scylla/config.h deleted file mode 100644 index bc3bcb4833..0000000000 --- a/keyboards/bastardkb/scylla/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 58 -# define RGB_MATRIX_SPLIT { 29, 29 } -# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50 -# define RGB_MATRIX_SLEEP -# define RGB_MATRIX_KEYPRESSES -#endif diff --git a/keyboards/bastardkb/scylla/info.json b/keyboards/bastardkb/scylla/info.json index 24a0262bee..6508c15b5a 100644 --- a/keyboards/bastardkb/scylla/info.json +++ b/keyboards/bastardkb/scylla/info.json @@ -3,10 +3,22 @@ "usb": { "pid": "0x1829" }, + "rgb_matrix": { + "max_brightness": 50, + "sleep": true, + "split_count": [29, 29] + }, "rgblight": { "led_count": 58, "split_count": [29, 29] }, + "split": { + "transport": { + "sync": { + "matrix_state": true + } + } + }, "layouts": { "LAYOUT_split_4x6_5": { "layout": [ |