Move backlight config to data driven (#19910)
This commit is contained in:
@@ -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 B7
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BACKLIGHT_LEVELS 5
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
|
@@ -20,8 +20,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
// Fix for prototype missing COL0, COL1, using backlight and RGB underglow I/O pins
|
||||
#undef MATRIX_COL_PINS
|
||||
#define MATRIX_COL_PINS { C4, B7, C6, C7, B6, B5, B4, B3, B2, B1, B0, D6 }
|
||||
|
||||
// This directs backlight code to use a disconnected pin, so the firwmare still has
|
||||
// backlight code and VIA support even though it doesn't do anything.
|
||||
#undef BACKLIGHT_PIN
|
||||
#define BACKLIGHT_PIN D1
|
@@ -1,4 +1,9 @@
|
||||
{
|
||||
"backlight": {
|
||||
"pin": "D1",
|
||||
"levels": 5,
|
||||
"breathing": true
|
||||
},
|
||||
"processor": "atmega32u2",
|
||||
"bootloader": "atmel-dfu"
|
||||
}
|
||||
|
@@ -1,4 +1,9 @@
|
||||
{
|
||||
"backlight": {
|
||||
"pin": "B7",
|
||||
"levels": 5,
|
||||
"breathing": true
|
||||
},
|
||||
"processor": "atmega32u2",
|
||||
"bootloader": "atmel-dfu"
|
||||
}
|
||||
|
Reference in New Issue
Block a user