Move backlight config to data driven (#19910)

This commit is contained in:
Ryan
2023-02-26 08:37:57 +11:00
committed by GitHub
parent ba7546a334
commit 314f6c1ddb
1003 changed files with 1873 additions and 1684 deletions

View File

@@ -46,6 +46,9 @@
"pid": "0x2312",
"vid": "0xC1ED"
},
"backlight": {
"driver": "custom"
},
"layout_aliases": {
"LAYOUT": "LAYOUT_numpad_5x4"
},

View File

@@ -1,2 +0,0 @@
# Build Options
BACKLIGHT_DRIVER = custom

View File

@@ -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

View File

@@ -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"

View File

@@ -1,10 +1,5 @@
#pragma once
/* Backlight configuration
*/
#define BACKLIGHT_LEVELS 1
/* Underlight configuration
*/
#define RGBLIGHT_EFFECT_BREATHE_CENTER 1

View File

@@ -50,6 +50,10 @@
"pid": "0x2320",
"vid": "0xC1ED"
},
"backlight": {
"driver": "custom",
"levels": 1
},
"community_layouts": ["66_ansi", "66_iso"],
"layout_aliases": {
"LAYOUT": "LAYOUT_all"

View File

@@ -1,2 +0,0 @@
# Build Options
BACKLIGHT_DRIVER = custom

View File

@@ -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

View File

@@ -50,6 +50,10 @@
"pid": "0x2370",
"vid": "0xC1ED"
},
"backlight": {
"driver": "custom",
"levels": 1
},
"community_layouts": ["66_ansi", "66_iso"],
"layout_aliases": {
"LAYOUT": "LAYOUT_all"

View File

@@ -1 +0,0 @@
BACKLIGHT_DRIVER = custom

View File

@@ -10,10 +10,6 @@
*/
#define NO_ACTION_TAPPING
/* Backlight configuration
*/
#define BACKLIGHT_LEVELS 1
/* Underlight configuration
*/
#define RGBLIGHT_EFFECT_BREATHE_CENTER 1

View File

@@ -50,6 +50,10 @@
"pid": "0x2390",
"vid": "0xC1ED"
},
"backlight": {
"driver": "custom",
"levels": 1
},
"community_layouts": ["66_ansi"],
"layout_aliases": {
"LAYOUT": "LAYOUT_all"

View File

@@ -1,3 +1 @@
BACKLIGHT_DRIVER = custom
LTO_ENABLE = yes

View File

@@ -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

View File

@@ -37,6 +37,10 @@
"pid": "0x2330",
"vid": "0xC1ED"
},
"backlight": {
"driver": "custom",
"levels": 6
},
"layout_aliases": {
"LAYOUT": "LAYOUT_all"
},

View File

@@ -1,2 +0,0 @@
# Build Options
BACKLIGHT_DRIVER = custom