Move backlight config to data driven, part 1 (#19887)

This commit is contained in:
Ryan
2023-02-21 12:05:40 +11:00
committed by GitHub
parent 4b69225c22
commit 9c0ce80d7e
128 changed files with 110 additions and 131 deletions

View File

@@ -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

View File

@@ -3,6 +3,9 @@
"usb": {
"pid": "0x6060"
},
"backlight": {
"on_state": 0
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu"
}

View File

@@ -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

View File

@@ -3,6 +3,9 @@
"usb": {
"pid": "0x6363"
},
"backlight": {
"on_state": 0
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu"
}

View File

@@ -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

View File

@@ -8,6 +8,9 @@
"pid": "0x6868",
"device_version": "0.0.1"
},
"backlight": {
"on_state": 0
},
"indicators": {
"caps_lock": "B2",
"on_state": 0

View File

@@ -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

View File

@@ -8,6 +8,9 @@
"pid": "0x7575",
"device_version": "0.0.1"
},
"backlight": {
"on_state": 0
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["ortho_5x15"],

View File

@@ -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

View File

@@ -8,6 +8,9 @@
"pid": "0x8484",
"device_version": "0.0.1"
},
"backlight": {
"on_state": 0
},
"indicators": {
"caps_lock": "B6",
"on_state": 0

View File

@@ -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

View File

@@ -8,6 +8,9 @@
"pid": "0x8450",
"device_version": "0.0.1"
},
"backlight": {
"on_state": 0
},
"indicators": {
"caps_lock": "B2",
"on_state": 0

View File

@@ -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

View File

@@ -8,6 +8,9 @@
"pid": "0x8787",
"device_version": "0.0.1"
},
"backlight": {
"on_state": 0
},
"indicators": {
"caps_lock": "E2",
"on_state": 0