Move backlight config to data driven (#19910)
This commit is contained in:
@@ -21,10 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define BACKLIGHT_PIN D4
|
||||
#define BACKLIGHT_LEVELS 12
|
||||
#define BACKLIGHT_BREATHING
|
||||
|
||||
/* RGB underglow */
|
||||
// NOTE: for PS2AVRGB boards, underglow commands are sent via I2C to 0xB0.
|
||||
#define RGBLED_NUM 5
|
||||
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0x0040",
|
||||
"device_version": "2.0.0"
|
||||
},
|
||||
"backlight": {
|
||||
"pin": "D4",
|
||||
"levels": 12,
|
||||
"breathing": true
|
||||
},
|
||||
"processor": "atmega32a",
|
||||
"bootloader": "bootloadhid",
|
||||
"community_layouts": ["ortho_4x12", "planck_mit"],
|
||||
|
Reference in New Issue
Block a user