Move backlight config to data driven, part 1 (#19887)
This commit is contained in:
@@ -34,7 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* Backlight Setup */
|
||||
#define BACKLIGHT_PIN F5
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_ON_STATE 0
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
@@ -3,6 +3,9 @@
|
||||
"usb": {
|
||||
"pid": "0x6060"
|
||||
},
|
||||
"backlight": {
|
||||
"on_state": 0
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu"
|
||||
}
|
||||
|
@@ -34,7 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* Backlight Setup */
|
||||
#define BACKLIGHT_PIN F5
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_ON_STATE 0
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
@@ -3,6 +3,9 @@
|
||||
"usb": {
|
||||
"pid": "0x6363"
|
||||
},
|
||||
"backlight": {
|
||||
"on_state": 0
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu"
|
||||
}
|
||||
|
@@ -37,8 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define BACKLIGHT_PIN F5
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
#define BACKLIGHT_ON_STATE 0
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
@@ -8,6 +8,9 @@
|
||||
"pid": "0x6868",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"on_state": 0
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "B2",
|
||||
"on_state": 0
|
||||
|
@@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#define BACKLIGHT_PIN F5
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_ON_STATE 0
|
||||
|
||||
#define RGB_DI_PIN F6
|
||||
#ifdef RGB_DI_PIN
|
||||
|
@@ -8,6 +8,9 @@
|
||||
"pid": "0x7575",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"on_state": 0
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu",
|
||||
"community_layouts": ["ortho_5x15"],
|
||||
|
@@ -39,7 +39,6 @@
|
||||
|
||||
#define BACKLIGHT_PIN B5
|
||||
#define BACKLIGHT_LEVELS 10
|
||||
#define BACKLIGHT_ON_STATE 0
|
||||
|
||||
#define RGB_DI_PIN C7
|
||||
#define RGBLED_NUM 7
|
||||
|
@@ -8,6 +8,9 @@
|
||||
"pid": "0x8484",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"on_state": 0
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "B6",
|
||||
"on_state": 0
|
||||
|
@@ -44,7 +44,6 @@
|
||||
|
||||
#define BACKLIGHT_PIN F5
|
||||
#define BACKLIGHT_LEVELS 10
|
||||
#define BACKLIGHT_ON_STATE 0
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
@@ -8,6 +8,9 @@
|
||||
"pid": "0x8450",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"on_state": 0
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "B2",
|
||||
"on_state": 0
|
||||
|
@@ -38,7 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#define BACKLIGHT_PIN D0
|
||||
#define BACKLIGHT_LEVELS 3
|
||||
#define BACKLIGHT_ON_STATE 0
|
||||
|
||||
#define RGB_DI_PIN B7
|
||||
#ifdef RGB_DI_PIN
|
||||
|
@@ -8,6 +8,9 @@
|
||||
"pid": "0x8787",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"on_state": 0
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "E2",
|
||||
"on_state": 0
|
||||
|
Reference in New Issue
Block a user