Move backlight config to data driven (#19910)
This commit is contained in:
@@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* COL2ROW, ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define BACKLIGHT_PIN B6
|
||||
#define BACKLIGHT_BREATHING
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
|
@@ -8,6 +8,10 @@
|
||||
"pid": "0x1895",
|
||||
"device_version": "0.0.2"
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "B6",
|
||||
"breathing": true
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "B3",
|
||||
"scroll_lock": "B7",
|
||||
|
@@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* COL2ROW, ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define BACKLIGHT_PIN B6
|
||||
#define BACKLIGHT_BREATHING
|
||||
|
||||
#define RGB_DI_PIN E2
|
||||
#define RGBLED_NUM 14
|
||||
|
||||
|
@@ -8,6 +8,10 @@
|
||||
"pid": "0x0AB7",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "B6",
|
||||
"breathing": true
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "B3",
|
||||
"scroll_lock": "B7",
|
||||
|
@@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* COL2ROW, ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define BACKLIGHT_PIN B6
|
||||
#define BACKLIGHT_LEVELS 4
|
||||
#define BACKLIGHT_BREATHING
|
||||
|
||||
#define ENCODERS_PAD_A { B0 }
|
||||
#define ENCODERS_PAD_B { B7 }
|
||||
#define ENCODER_RESOLUTION 2
|
||||
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0xCA2C",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "B6",
|
||||
"levels": 4,
|
||||
"breathing": true
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "E6",
|
||||
"on_state": 0
|
||||
|
Reference in New Issue
Block a user