Move backlight config to data driven (#19910)
This commit is contained in:
@@ -46,6 +46,9 @@
|
||||
"pid": "0x2312",
|
||||
"vid": "0xC1ED"
|
||||
},
|
||||
"backlight": {
|
||||
"driver": "custom"
|
||||
},
|
||||
"layout_aliases": {
|
||||
"LAYOUT": "LAYOUT_numpad_5x4"
|
||||
},
|
||||
|
@@ -1,2 +0,0 @@
|
||||
# Build Options
|
||||
BACKLIGHT_DRIVER = custom
|
||||
|
@@ -1,23 +0,0 @@
|
||||
/*
|
||||
* Copyright 2017 skully <skullydazed@gmail.com>
|
||||
*
|
||||
* 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
|
||||
|
||||
|
||||
/* Backlight configuration
|
||||
*/
|
||||
#define BACKLIGHT_LEVELS 1
|
@@ -29,6 +29,9 @@
|
||||
"pid": "0x2350",
|
||||
"vid": "0xC1ED"
|
||||
},
|
||||
"backlight": {
|
||||
"levels": 1
|
||||
},
|
||||
"community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_iso"],
|
||||
"layout_aliases": {
|
||||
"LAYOUT": "LAYOUT_all"
|
||||
|
@@ -1,10 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
/* Backlight configuration
|
||||
*/
|
||||
#define BACKLIGHT_LEVELS 1
|
||||
|
||||
/* Underlight configuration
|
||||
*/
|
||||
#define RGBLIGHT_EFFECT_BREATHE_CENTER 1
|
||||
|
@@ -50,6 +50,10 @@
|
||||
"pid": "0x2320",
|
||||
"vid": "0xC1ED"
|
||||
},
|
||||
"backlight": {
|
||||
"driver": "custom",
|
||||
"levels": 1
|
||||
},
|
||||
"community_layouts": ["66_ansi", "66_iso"],
|
||||
"layout_aliases": {
|
||||
"LAYOUT": "LAYOUT_all"
|
||||
|
@@ -1,2 +0,0 @@
|
||||
# Build Options
|
||||
BACKLIGHT_DRIVER = custom
|
||||
|
@@ -1,10 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
/* Backlight configuration
|
||||
*/
|
||||
#define BACKLIGHT_LEVELS 1
|
||||
|
||||
#define RGBLIGHT_EFFECT_BREATHE_CENTER 1
|
||||
#define RGBLIGHT_EFFECT_BREATHE_MAX 200
|
||||
#define RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL 666*2
|
||||
|
@@ -50,6 +50,10 @@
|
||||
"pid": "0x2370",
|
||||
"vid": "0xC1ED"
|
||||
},
|
||||
"backlight": {
|
||||
"driver": "custom",
|
||||
"levels": 1
|
||||
},
|
||||
"community_layouts": ["66_ansi", "66_iso"],
|
||||
"layout_aliases": {
|
||||
"LAYOUT": "LAYOUT_all"
|
||||
|
@@ -1 +0,0 @@
|
||||
BACKLIGHT_DRIVER = custom
|
||||
|
@@ -10,10 +10,6 @@
|
||||
*/
|
||||
#define NO_ACTION_TAPPING
|
||||
|
||||
/* Backlight configuration
|
||||
*/
|
||||
#define BACKLIGHT_LEVELS 1
|
||||
|
||||
/* Underlight configuration
|
||||
*/
|
||||
#define RGBLIGHT_EFFECT_BREATHE_CENTER 1
|
||||
|
@@ -50,6 +50,10 @@
|
||||
"pid": "0x2390",
|
||||
"vid": "0xC1ED"
|
||||
},
|
||||
"backlight": {
|
||||
"driver": "custom",
|
||||
"levels": 1
|
||||
},
|
||||
"community_layouts": ["66_ansi"],
|
||||
"layout_aliases": {
|
||||
"LAYOUT": "LAYOUT_all"
|
||||
|
@@ -1,3 +1 @@
|
||||
BACKLIGHT_DRIVER = custom
|
||||
|
||||
LTO_ENABLE = yes
|
||||
|
@@ -17,8 +17,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
|
||||
// Enable audio
|
||||
#define AUDIO_PIN C6
|
||||
|
@@ -37,6 +37,10 @@
|
||||
"pid": "0x2330",
|
||||
"vid": "0xC1ED"
|
||||
},
|
||||
"backlight": {
|
||||
"driver": "custom",
|
||||
"levels": 6
|
||||
},
|
||||
"layout_aliases": {
|
||||
"LAYOUT": "LAYOUT_all"
|
||||
},
|
||||
|
@@ -1,2 +0,0 @@
|
||||
# Build Options
|
||||
BACKLIGHT_DRIVER = custom
|
||||
|
Reference in New Issue
Block a user