Migrate RGB Matrix config to info.json - B (#22806)
This commit is contained in:
@@ -20,10 +20,3 @@
|
||||
|
||||
/* Trackball angle adjustment. */
|
||||
#define ROTATIONAL_TRANSFORM_ANGLE -25
|
||||
|
||||
/* RGB settings. */
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
# define RGB_MATRIX_LED_COUNT 36
|
||||
# define RGB_MATRIX_SPLIT \
|
||||
{ 18, 18 }
|
||||
#endif
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
"pid": "0x1832",
|
||||
"vid": "0xA8F8"
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"split_count": [18, 18]
|
||||
},
|
||||
"layout_aliases": {
|
||||
"LAYOUT_charybdis_3x5": "LAYOUT"
|
||||
},
|
||||
|
||||
@@ -20,10 +20,3 @@
|
||||
|
||||
/* Trackball angle adjustment. */
|
||||
#define ROTATIONAL_TRANSFORM_ANGLE -25
|
||||
|
||||
/* RGB settings. */
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
# define RGB_MATRIX_LED_COUNT 42
|
||||
# define RGB_MATRIX_SPLIT \
|
||||
{ 21, 21 }
|
||||
#endif
|
||||
|
||||
@@ -3,10 +3,13 @@
|
||||
"usb": {
|
||||
"pid": "0x1834"
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"split_count": [21, 21]
|
||||
},
|
||||
"layout_aliases": {
|
||||
"LAYOUT_charybdis_3x6": "LAYOUT"
|
||||
},
|
||||
"layouts": {
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"label": "L00", "matrix": [0, 0], "x": 0, "y": 0},
|
||||
|
||||
@@ -20,10 +20,3 @@
|
||||
|
||||
/* Trackball angle adjustment. */
|
||||
#define ROTATIONAL_TRANSFORM_ANGLE -25
|
||||
|
||||
/* RGB settings. */
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
# define RGB_MATRIX_LED_COUNT 58
|
||||
# define RGB_MATRIX_SPLIT \
|
||||
{ 29, 29 }
|
||||
#endif
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
"pid": "0x1833",
|
||||
"vid": "0xA8F8"
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"split_count": [29, 29]
|
||||
},
|
||||
"layout_aliases": {
|
||||
"LAYOUT_charybdis_4x6": "LAYOUT"
|
||||
},
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
/* Pointing device configuration. */
|
||||
|
||||
// Enable use of pointing device on slave split.
|
||||
@@ -35,21 +34,6 @@
|
||||
|
||||
/* RGB matrix support. */
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
# define SPLIT_TRANSPORT_MIRROR
|
||||
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255
|
||||
# define RGB_MATRIX_SLEEP
|
||||
# define RGB_MATRIX_KEYPRESSES
|
||||
|
||||
// Startup values.
|
||||
# define RGB_MATRIX_DEFAULT_VAL 64
|
||||
|
||||
// Rainbow swirl as startup mode.
|
||||
# define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
|
||||
# define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT
|
||||
|
||||
// Slow swirl at startup.
|
||||
# define RGB_MATRIX_DEFAULT_SPD 32
|
||||
|
||||
# ifndef __arm__
|
||||
// Disable control of RGB matrix by keycodes (must use firmware implementation
|
||||
// to control the feature).
|
||||
|
||||
19
keyboards/bastardkb/charybdis/info.json
Normal file
19
keyboards/bastardkb/charybdis/info.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"rgb_matrix": {
|
||||
"animations": {
|
||||
"cycle_left_right": true
|
||||
},
|
||||
"default": {
|
||||
"speed": 32,
|
||||
"val": 64
|
||||
},
|
||||
"sleep": true
|
||||
},
|
||||
"split": {
|
||||
"transport": {
|
||||
"sync": {
|
||||
"matrix_state": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -42,15 +42,3 @@
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
|
||||
|
||||
/* RGB matrix support. */
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
# define SPLIT_TRANSPORT_MIRROR
|
||||
# define RGB_MATRIX_SLEEP
|
||||
# define RGB_MATRIX_KEYPRESSES
|
||||
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
||||
|
||||
// Startup values.
|
||||
# define RGB_MATRIX_DEFAULT_VAL 128
|
||||
# define RGB_MATRIX_DEFAULT_SPD 32
|
||||
#endif
|
||||
|
||||
@@ -17,6 +17,11 @@
|
||||
"soft_serial_pin": "GP1",
|
||||
"bootmagic": {
|
||||
"matrix": [4, 0]
|
||||
},
|
||||
"transport":{
|
||||
"sync": {
|
||||
"matrix_state": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"encoder": {
|
||||
@@ -90,6 +95,10 @@
|
||||
"solid_splash": true,
|
||||
"solid_multisplash": true
|
||||
},
|
||||
"default": {
|
||||
"speed": 32,
|
||||
"val": 128
|
||||
},
|
||||
"layout": [
|
||||
{"x": 82, "y": 0, "flags": 2},
|
||||
{"x": 60, "y": 0, "flags": 2},
|
||||
@@ -180,7 +189,8 @@
|
||||
{"matrix": [7, 2], "x": 179, "y": 51, "flags": 4},
|
||||
{"matrix": [7, 0], "x": 160, "y": 53, "flags": 4},
|
||||
{"matrix": [7, 1], "x": 143, "y": 60, "flags": 4}
|
||||
]
|
||||
],
|
||||
"sleep": true
|
||||
},
|
||||
"community_layouts": ["split_3x5_3"],
|
||||
"layouts": {
|
||||
|
||||
@@ -44,11 +44,4 @@
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
|
||||
|
||||
/* RGB matrix support. */
|
||||
#define SPLIT_TRANSPORT_MIRROR
|
||||
#define RGB_MATRIX_SLEEP
|
||||
#define RGB_MATRIX_KEYPRESSES
|
||||
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
||||
|
||||
// Startup values.
|
||||
#define RGB_MATRIX_DEFAULT_VAL 64
|
||||
#define RGB_MATRIX_DEFAULT_SPD 32
|
||||
#define SPLIT_TRANSPORT_MIRROR
|
||||
@@ -17,6 +17,11 @@
|
||||
"soft_serial_pin": "GP1",
|
||||
"bootmagic": {
|
||||
"matrix": [5, 0]
|
||||
},
|
||||
"transport":{
|
||||
"sync": {
|
||||
"matrix_state": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"encoder": {
|
||||
@@ -91,6 +96,10 @@
|
||||
"solid_splash": true,
|
||||
"solid_multisplash": true
|
||||
},
|
||||
"default": {
|
||||
"speed": 32,
|
||||
"val": 128
|
||||
},
|
||||
"layout": [
|
||||
{"x": 81, "y": 4, "flags": 2},
|
||||
{"x": 65, "y": 2, "flags": 2},
|
||||
@@ -199,7 +208,8 @@
|
||||
{"matrix": [9, 2], "x": 156, "y": 53, "flags": 4},
|
||||
{"matrix": [9, 1], "x": 143, "y": 57, "flags": 4},
|
||||
{"matrix": [9, 3], "x": 132, "y": 64, "flags": 4}
|
||||
]
|
||||
],
|
||||
"sleep": true
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
/*
|
||||
* Copyright 2021 Quentin LEBASTARD <qlebastard@gmail.com>
|
||||
* Copyright 2022 Charly Delay <charly@codesink.dev> (@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
|
||||
@@ -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": [
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
/*
|
||||
* Copyright 2021 Quentin LEBASTARD <qlebastard@gmail.com>
|
||||
* Copyright 2022 Charly Delay <charly@codesink.dev> (@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 36
|
||||
# define RGB_MATRIX_SPLIT { 18, 18 }
|
||||
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50
|
||||
# define RGB_MATRIX_SLEEP
|
||||
# define RGB_MATRIX_KEYPRESSES
|
||||
#endif
|
||||
@@ -3,10 +3,22 @@
|
||||
"usb": {
|
||||
"pid": "0x1830"
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"max_brightness": 50,
|
||||
"sleep": true,
|
||||
"split_count": [18, 18]
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 36,
|
||||
"split_count": [18, 18]
|
||||
},
|
||||
"split": {
|
||||
"transport": {
|
||||
"sync": {
|
||||
"matrix_state": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"community_layouts": ["split_3x5_3"],
|
||||
"layouts": {
|
||||
"LAYOUT_split_3x5_3": {
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
/*
|
||||
* Copyright 2021 Quentin LEBASTARD <qlebastard@gmail.com>
|
||||
* Copyright 2022 Charly Delay <charly@codesink.dev> (@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
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user