Move backlight config to data driven, part 1 (#19887)

This commit is contained in:
Ryan
2023-02-21 12:05:40 +11:00
committed by GitHub
parent 4b69225c22
commit 9c0ce80d7e
128 changed files with 110 additions and 131 deletions

View File

@@ -32,8 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PAL_MODE 2
#define BACKLIGHT_LEVELS 20
#define BACKLIGHT_BREATHING
#define BREATHING_PERIOD 5
#define BACKLIGHT_ON_STATE 0
#define RGB_DI_PIN B15
#define RGBLED_NUM 34

View File

@@ -4,6 +4,10 @@
"pid": "0x6584",
"device_version": "0.0.1"
},
"backlight": {
"on_state": 0,
"breathing_period": 5
},
"indicators": {
"caps_lock": "A10"
},

View File

@@ -32,7 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PAL_MODE 2
#define BACKLIGHT_LEVELS 20
#define BACKLIGHT_BREATHING
#define BREATHING_PERIOD 5
#define RGB_DI_PIN B15
#define RGBLED_NUM 34

View File

@@ -4,6 +4,9 @@
"pid": "0x6585",
"device_version": "0.0.2"
},
"backlight": {
"breathing_period": 5
},
"indicators": {
"caps_lock": "C8"
},

View File

@@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PAL_MODE 1
#define BACKLIGHT_LEVELS 6
#define BACKLIGHT_BREATHING
#define BREATHING_PERIOD 6
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE

View File

@@ -30,7 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 20
#define BACKLIGHT_DEFAULT_LEVEL 10
#define BREATHING_PERIOD 3
#define RGB_DI_PIN B15
#define RGBLED_NUM 16

View File

@@ -8,6 +8,9 @@
"pid": "0x454D",
"device_version": "0.0.2"
},
"backlight": {
"breathing_period": 3
},
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {

View File

@@ -31,8 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PAL_MODE 2
#define BACKLIGHT_LEVELS 20
#define BACKLIGHT_BREATHING
#define BREATHING_PERIOD 5
#define BACKLIGHT_ON_STATE 1
#define RGB_DI_PIN B15
#define RGBLED_NUM 24

View File

@@ -4,6 +4,9 @@
"pid": "0x5369",
"device_version": "0.0.2"
},
"backlight": {
"breathing_period": 5
},
"processor": "STM32F411",
"bootloader": "stm32-dfu",
"community_layouts": ["ortho_4x12"],