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

@@ -26,8 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN D4
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@@ -8,6 +8,9 @@
"pid": "0x9100",
"device_version": "0.0.1"
},
"backlight": {
"pin": "D4"
},
"indicators": {
"caps_lock": "D1",
"num_lock": "D0",

View File

@@ -26,8 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN D4
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@@ -8,6 +8,9 @@
"pid": "0x910C",
"device_version": "0.0.1"
},
"backlight": {
"pin": "D4"
},
"indicators": {
"caps_lock": "D1"
},

View File

@@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 }
#define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN D4
#define RGBLED_NUM 18
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD

View File

@@ -8,6 +8,9 @@
"pid": "0x422E",
"device_version": "2.0.0"
},
"backlight": {
"pin": "D4"
},
"indicators": {
"caps_lock": "D1",
"num_lock": "D0",

View File

@@ -23,5 +23,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 }
#define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN D4

View File

@@ -8,6 +8,9 @@
"pid": "0x4A4E",
"device_version": "2.0.0"
},
"backlight": {
"pin": "D4"
},
"indicators": {
"caps_lock": "D1",
"scroll_lock": "D6"

View File

@@ -22,5 +22,3 @@
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 }
#define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN D4

View File

@@ -8,6 +8,9 @@
"pid": "0x4A43",
"device_version": "2.0.0"
},
"backlight": {
"pin": "D4"
},
"indicators": {
"caps_lock": "D1",
"num_lock": "D6"

View File

@@ -23,8 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN D4
#define RGBLED_NUM 6
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD

View File

@@ -8,6 +8,9 @@
"pid": "0x5452",
"device_version": "0.0.1"
},
"backlight": {
"pin": "D4"
},
"indicators": {
"num_lock": "D0"
},