1
0

Migrate lighting defaults to info.json (#22920)

This commit is contained in:
Joel Challis
2024-02-01 18:10:14 +00:00
committed by GitHub
parent 7d5b4adc50
commit 2f37a7854d
141 changed files with 312 additions and 338 deletions

View File

@@ -3,10 +3,6 @@
#pragma once
#define RGBLIGHT_LAYERS
#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */

View File

@@ -28,6 +28,13 @@
"rgb_test": true,
"alternating": true,
"twinkle": true
},
"default": {
"animation": "rainbow_mood"
},
"layers": {
"enabled": true,
"override_rgb": true
}
},
"matrix_pins": {

View File

@@ -1,19 +0,0 @@
/* Copyright 2020 Demo Studio <https://www.instagram.com/demostudio01>
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
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD

View File

@@ -28,6 +28,9 @@
"rgb_test": true,
"alternating": true,
"twinkle": true
},
"default": {
"animation": "rainbow_mood"
}
},
"matrix_pins": {

View File

@@ -2,10 +2,6 @@
// SPDX-License-Identifier: GPL-2.0
#pragma once
#define RGBLIGHT_LAYERS
#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */

View File

@@ -28,6 +28,13 @@
"rgb_test": true,
"alternating": true,
"twinkle": true
},
"default": {
"animation": "rainbow_mood"
},
"layers": {
"enabled": true,
"override_rgb": true
}
},
"matrix_pins": {

View File

@@ -1,7 +1,7 @@
// Copyright 2023 Yizhen Liu (@edwardslau)
// SPDX-License-Identifier: GPL-2.0
#pragma once
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */

View File

@@ -46,6 +46,9 @@
"snake": true,
"static_gradient": true,
"twinkle": true
},
"default": {
"animation": "rainbow_mood"
}
},
"layout_aliases": {