Move backlight config to data driven (#19910)

This commit is contained in:
Ryan
2023-02-26 08:37:57 +11:00
committed by GitHub
parent ba7546a334
commit 314f6c1ddb
1003 changed files with 1873 additions and 1684 deletions

View File

@@ -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 B7
#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */

View File

@@ -8,6 +8,10 @@
"pid": "0xEBD8",
"device_version": "0.0.1"
},
"backlight": {
"pin": "B7",
"breathing": true
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["ortho_6x4", "numpad_6x4"],

View File

@@ -24,9 +24,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_LEVELS 12
#define RGB_DI_PIN B0
#ifdef RGB_DI_PIN
#define RGBLED_NUM 16

View File

@@ -8,6 +8,10 @@
"pid": "0xEBBE",
"device_version": "0.0.1"
},
"backlight": {
"pin": "B7",
"levels": 12
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_hhkb", "60_tsangan_hhkb"],

View File

@@ -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 B7
#define BACKLIGHT_BREATHING
#define RGB_DI_PIN D2
#ifdef RGB_DI_PIN
# define RGBLED_NUM 17

View File

@@ -8,6 +8,10 @@
"pid": "0xE9E4",
"device_version": "0.0.1"
},
"backlight": {
"pin": "B7",
"breathing": true
},
"indicators": {
"caps_lock": "E6"
},

View File

@@ -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 B7
#define BACKLIGHT_BREATHING
#define RGB_DI_PIN D2
#ifdef RGB_DI_PIN
# define RGBLED_NUM 17

View File

@@ -8,6 +8,10 @@
"pid": "0xE8B7",
"device_version": "0.0.1"
},
"backlight": {
"pin": "B7",
"breathing": true
},
"indicators": {
"caps_lock": "E6"
},

View File

@@ -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 B7
#define BACKLIGHT_BREATHING
#define RGB_DI_PIN B0
#ifdef RGB_DI_PIN
# define RGBLED_NUM 16

View File

@@ -8,6 +8,10 @@
"pid": "0xEB1B",
"device_version": "0.0.1"
},
"backlight": {
"pin": "B7",
"breathing": true
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {

View File

@@ -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 RGB_DI_PIN B3
#ifdef RGB_DI_PIN
#define RGBLED_NUM 22

View File

@@ -8,6 +8,10 @@
"pid": "0xEC9A",
"device_version": "0.0.1"
},
"backlight": {
"pin": "B7",
"breathing": true
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {

View File

@@ -33,8 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN B7
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */

View File

@@ -8,6 +8,9 @@
"pid": "0xECE9",
"device_version": "0.0.1"
},
"backlight": {
"pin": "B7"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {

View File

@@ -34,8 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN B7
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */

View File

@@ -8,6 +8,9 @@
"pid": "0xECA2",
"device_version": "0.0.1"
},
"backlight": {
"pin": "B7"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {

View File

@@ -38,9 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//EITHERWAY is supported through a custom matrix
//#define DIODE_DIRECTION EITHERWAY
#define BACKLIGHT_PIN B7
#define BACKLIGHT_BREATHING
#define RGB_DI_PIN B0
#ifdef RGB_DI_PIN
#define RGBLED_NUM 27

View File

@@ -8,6 +8,10 @@
"pid": "0xECE8",
"device_version": "0.0.1"
},
"backlight": {
"pin": "B7",
"breathing": true
},
"processor": "at90usb1286",
"bootloader": "atmel-dfu",
"layouts": {

View File

@@ -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 B7
#define BACKLIGHT_BREATHING
#define RGB_DI_PIN E6
#ifdef RGB_DI_PIN
#define RGBLED_NUM 26

View File

@@ -8,6 +8,10 @@
"pid": "0xEC81",
"device_version": "0.0.1"
},
"backlight": {
"pin": "B7",
"breathing": true
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {