1
0
Fork 0

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1003 changed files with 1873 additions and 1684 deletions

View file

@ -26,9 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION ROW2COL
#define BACKLIGHT_PIN B6
#define BACKLIGHT_LEVELS 6
/* 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": "0x0001",
"device_version": "0.0.1"
},
"backlight": {
"pin": "B6",
"levels": 6
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["65_ansi_blocker"],

View file

@ -52,8 +52,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN D2
/* 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": "0x422D",
"device_version": "0.0.1"
},
"backlight": {
"pin": "D2"
},
"processor": "atmega32a",
"bootloader": "bootloadhid",
"community_layouts": ["planck_mit"],

View file

@ -8,8 +8,6 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION ROW2COL
#define BACKLIGHT_PIN B6
/* 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": "0x6060",
"device_version": "0.0.1"
},
"backlight": {
"pin": "B6"
},
"indicators": {
"caps_lock": "C7",
"num_lock": "C6",

View file

@ -31,7 +31,3 @@
#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4 }
#define DIODE_DIRECTION ROW2COL
#define BACKLIGHT_PIN B6
#define BACKLIGHT_LEVELS 5

View file

@ -8,6 +8,10 @@
"pid": "0x2001",
"device_version": "0.0.1"
},
"backlight": {
"pin": "B6",
"levels": 5
},
"indicators": {
"caps_lock": "C6",
"num_lock": "B5",

View file

@ -20,6 +20,4 @@
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLIGHT_SLEEP
#define BACKLIGHT_PIN D4
#define I2C_START_RETRY_COUNT 1

View file

@ -8,6 +8,9 @@
"pid": "0x0001",
"device_version": "0.0.1"
},
"backlight": {
"pin": "D4"
},
"indicators": {
"caps_lock": "D1",
"num_lock": "D0",