Move backlight config to data driven (#19910)

master
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

@ -13,6 +13,7 @@
"AUDIO_VOICES": {"info_key": "audio.voices", "value_type": "bool"}, "AUDIO_VOICES": {"info_key": "audio.voices", "value_type": "bool"},
"BACKLIGHT_BREATHING": {"info_key": "backlight.breathing", "value_type": "bool"}, "BACKLIGHT_BREATHING": {"info_key": "backlight.breathing", "value_type": "bool"},
"BREATHING_PERIOD": {"info_key": "backlight.breathing_period", "value_type": "int"}, "BREATHING_PERIOD": {"info_key": "backlight.breathing_period", "value_type": "int"},
"BACKLIGHT_CAPS_LOCK": {"info_key": "backlight.as_caps_lock", "value_type": "bool"},
"BACKLIGHT_LEVELS": {"info_key": "backlight.levels", "value_type": "int"}, "BACKLIGHT_LEVELS": {"info_key": "backlight.levels", "value_type": "int"},
"BACKLIGHT_LIMIT_VAL": {"info_key": "backlight.max_brightness", "value_type": "int"}, "BACKLIGHT_LIMIT_VAL": {"info_key": "backlight.max_brightness", "value_type": "int"},
"BACKLIGHT_ON_STATE": {"info_key": "backlight.on_state", "value_type": "int"}, "BACKLIGHT_ON_STATE": {"info_key": "backlight.on_state", "value_type": "int"},

View File

@ -14,6 +14,7 @@
"BOOTLOADER": {"info_key": "bootloader", "warn_duplicate": false}, "BOOTLOADER": {"info_key": "bootloader", "warn_duplicate": false},
"BOOTMAGIC_ENABLE": {"info_key": "bootmagic.enabled", "value_type": "bool"}, "BOOTMAGIC_ENABLE": {"info_key": "bootmagic.enabled", "value_type": "bool"},
"BLUETOOTH_DRIVER": {"info_key": "bluetooth.driver"}, "BLUETOOTH_DRIVER": {"info_key": "bluetooth.driver"},
"BACKLIGHT_DRIVER": {"info_key": "backlight.driver"},
"CAPS_WORD_ENABLE": {"info_key": "caps_word.enabled", "value_type": "bool"}, "CAPS_WORD_ENABLE": {"info_key": "caps_word.enabled", "value_type": "bool"},
"DEBOUNCE_TYPE": {"info_key": "build.debounce_type"}, "DEBOUNCE_TYPE": {"info_key": "build.debounce_type"},
"ENCODER_ENABLE": {"info_key": "encoder.enabled", "value_type": "bool"}, "ENCODER_ENABLE": {"info_key": "encoder.enabled", "value_type": "bool"},

View File

@ -108,6 +108,10 @@
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"driver": {
"type": "string",
"enum": ["pwm", "software", "timer", "custom"]
},
"breathing": {"type": "boolean"}, "breathing": {"type": "boolean"},
"breathing_period": {"$ref": "qmk.definitions.v1#/unsigned_int_8"}, "breathing_period": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
"levels": { "levels": {
@ -118,7 +122,8 @@
"max_brightness": {"$ref": "qmk.definitions.v1#/unsigned_int_8"}, "max_brightness": {"$ref": "qmk.definitions.v1#/unsigned_int_8"},
"pin": {"$ref": "qmk.definitions.v1#/mcu_pin"}, "pin": {"$ref": "qmk.definitions.v1#/mcu_pin"},
"pins": {"$ref": "qmk.definitions.v1#/mcu_pin_array"}, "pins": {"$ref": "qmk.definitions.v1#/mcu_pin_array"},
"on_state": {"$ref": "qmk.definitions.v1#/bit"} "on_state": {"$ref": "qmk.definitions.v1#/bit"},
"as_caps_lock": {"type": "boolean"}
} }
}, },
"bluetooth": { "bluetooth": {

View File

@ -23,10 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define ENCODERS_PAD_A { F6 } #define ENCODERS_PAD_A { F6 }
#define ENCODERS_PAD_B { F5 } #define ENCODERS_PAD_B { F5 }
#define BACKLIGHT_PIN B5
#define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 7
#define RGB_DI_PIN D3 #define RGB_DI_PIN D3
#ifdef RGB_DI_PIN #ifdef RGB_DI_PIN
#define RGBLED_NUM 4 #define RGBLED_NUM 4

View File

@ -8,6 +8,11 @@
"pid": "0x1337", "pid": "0x1337",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"backlight": {
"pin": "B5",
"levels": 7,
"breathing": true
},
"qmk_lufa_bootloader": { "qmk_lufa_bootloader": {
"led": "B0" "led": "B0"
}, },

View File

@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/ /* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN B7
#define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 5
#define RGB_DI_PIN F0 #define RGB_DI_PIN F0
#ifdef RGB_DI_PIN #ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_BREATHING

View File

@ -8,6 +8,11 @@
"pid": "0x6873", "pid": "0x6873",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"backlight": {
"pin": "B7",
"levels": 5,
"breathing": true
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",
"community_layouts": ["60_ansi"], "community_layouts": ["60_ansi"],

View File

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

View File

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

View File

@ -8,11 +8,6 @@
/* COL2ROW or ROW2COL */ /* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN B6
#ifdef BACKLIGHT_PIN
#define BACKLIGHT_LEVELS 5
#endif
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE

View File

@ -8,6 +8,10 @@
"pid": "0x7267", "pid": "0x7267",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"backlight": {
"pin": "B6",
"levels": 5
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",
"community_layouts": ["60_ansi", "60_iso", "60_ansi_split_bs_rshift", "60_hhkb"], "community_layouts": ["60_ansi", "60_iso", "60_ansi_split_bs_rshift", "60_hhkb"],

View File

@ -28,10 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define ENCODERS_PAD_A { B5, F5 } #define ENCODERS_PAD_A { B5, F5 }
#define ENCODERS_PAD_B { B6, F6 } #define ENCODERS_PAD_B { B6, F6 }
#define BACKLIGHT_PIN C6
#define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 8
#define RGB_DI_PIN B3 #define RGB_DI_PIN B3
#ifdef RGB_DI_PIN #ifdef RGB_DI_PIN
#define RGBLED_NUM 8 #define RGBLED_NUM 8

View File

@ -2,6 +2,11 @@
"usb": { "usb": {
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"backlight": {
"pin": "C6",
"levels": 8,
"breathing": true
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "atmel-dfu" "bootloader": "atmel-dfu"
} }

View File

@ -8,8 +8,6 @@
/* COL2ROW or ROW2COL */ /* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN B5
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE

View File

@ -8,6 +8,9 @@
"pid": "0x6060", "pid": "0x6060",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"backlight": {
"pin": "B5"
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "caterina", "bootloader": "caterina",
"community_layouts": ["ortho_3x10"], "community_layouts": ["ortho_3x10"],

View File

@ -7,11 +7,6 @@
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN B5
#ifdef BACKLIGHT_PIN
#define BACKLIGHT_LEVELS 4
#endif
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE

View File

@ -8,6 +8,10 @@
"pid": "0x4C55", "pid": "0x4C55",
"device_version": "10.0.1" "device_version": "10.0.1"
}, },
"backlight": {
"pin": "B5",
"levels": 4
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "caterina", "bootloader": "caterina",
"community_layouts": ["60_ansi"], "community_layouts": ["60_ansi"],

View File

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

View File

@ -8,6 +8,10 @@
"pid": "0x4D68", "pid": "0x4D68",
"device_version": "1.0.1" "device_version": "1.0.1"
}, },
"backlight": {
"pin": "B5",
"breathing": true
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "caterina", "bootloader": "caterina",
"community_layouts": ["68_ansi"], "community_layouts": ["68_ansi"],

View File

@ -33,8 +33,6 @@
/* COL2ROW, ROW2COL*/ /* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN B5
// enable RGB underglow // enable RGB underglow
#define RGB_DI_PIN B4 #define RGB_DI_PIN B4
#define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_BREATHING

View File

@ -8,6 +8,9 @@
"pid": "0x0A0C", "pid": "0x0A0C",
"device_version": "4.4.4" "device_version": "4.4.4"
}, },
"backlight": {
"pin": "B5"
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "caterina", "bootloader": "caterina",
"community_layouts": ["ortho_4x4", "ortho_4x12"], "community_layouts": ["ortho_4x4", "ortho_4x12"],

View File

@ -1,22 +0,0 @@
/*
Copyright 2020
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
/* Backlight */
#define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 6

View File

@ -9,7 +9,9 @@
"device_version": "10.0.1" "device_version": "10.0.1"
}, },
"backlight": { "backlight": {
"pins": ["F4", "F5"] "pins": ["F4", "F5"],
"levels": 6,
"breathing": true
}, },
"indicators": { "indicators": {
"caps_lock": "B0", "caps_lock": "B0",

View File

@ -20,13 +20,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { A2, A1, B8, A10, C15, A15, B7, B6, C14, C13} #define MATRIX_ROW_PINS { A2, A1, B8, A10, C15, A15, B7, B6, C14, C13}
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
/* In switch leds */
#define BACKLIGHT_PIN A3
#define BACKLIGHT_PWM_DRIVER PWMD2 #define BACKLIGHT_PWM_DRIVER PWMD2
#define BACKLIGHT_PWM_CHANNEL 4 #define BACKLIGHT_PWM_CHANNEL 4
#define BACKLIGHT_PAL_MODE 2 #define BACKLIGHT_PAL_MODE 2
#define BACKLIGHT_LEVELS 10
#define BACKLIGHT_BREATHING TRUE
/* Underglow */ /* Underglow */
#define RGB_DI_PIN A7 #define RGB_DI_PIN A7

View File

@ -8,6 +8,11 @@
"pid": "0x0007", "pid": "0x0007",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"backlight": {
"pin": "A3",
"levels": 10,
"breathing": true
},
"processor": "STM32F072", "processor": "STM32F072",
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",
"layouts": { "layouts": {

View File

@ -8,7 +8,6 @@ CONSOLE_ENABLE = yes # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes BACKLIGHT_ENABLE = yes
BACKLIGHT_DRIVER = pwm
RGBLIGHT_ENABLE = yes RGBLIGHT_ENABLE = yes
WS2812_DRIVER = spi WS2812_DRIVER = spi

View File

@ -20,13 +20,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { A2, A1, B8, A10, C15, A15, B7, B6, C14, C13} #define MATRIX_ROW_PINS { A2, A1, B8, A10, C15, A15, B7, B6, C14, C13}
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
/* In switch leds */
#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_PAL_MODE 1
#define BACKLIGHT_LEVELS 6
#define BACKLIGHT_BREATHING
/* Underglow */ /* Underglow */
#define RGBLED_NUM 16 #define RGBLED_NUM 16

View File

@ -8,6 +8,11 @@
"pid": "0x0010", "pid": "0x0010",
"device_version": "0.0.2" "device_version": "0.0.2"
}, },
"backlight": {
"pin": "A6",
"levels": 6,
"breathing": true
},
"indicators": { "indicators": {
"caps_lock": "B1", "caps_lock": "B1",
"num_lock": "B12", "num_lock": "B12",

View File

@ -6,8 +6,6 @@
/* Locking resynchronize hack */ /* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE #define LOCKING_RESYNC_ENABLE
#define BACKLIGHT_LEVELS 8
// ws2812 options // ws2812 options
#define RGB_DI_PIN D2 // pin the DI on the ws2812 is hooked-up to #define RGB_DI_PIN D2 // pin the DI on the ws2812 is hooked-up to
#define RGBLED_NUM 8 // number of LEDs #define RGBLED_NUM 8 // number of LEDs

View File

@ -8,7 +8,8 @@
"pid": "0x2171" "pid": "0x2171"
}, },
"backlight": { "backlight": {
"pins": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"] "pins": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"],
"levels": 8
}, },
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "caterina", "bootloader": "caterina",

View File

@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */ /* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN C6
#define BACKLIGHT_LEVELS 15
#define RGB_DI_PIN E6 #define RGB_DI_PIN E6
#ifdef RGB_DI_PIN #ifdef RGB_DI_PIN
#define RGBLED_NUM 3 #define RGBLED_NUM 3

View File

@ -8,6 +8,10 @@
"pid": "0x0001", "pid": "0x0001",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"backlight": {
"pin": "C6",
"levels": 15
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",
"layouts": { "layouts": {

View File

@ -37,9 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */ /* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN B7
#define BACKLIGHT_BREATHING
#define RGB_DI_PIN D0 #define RGB_DI_PIN D0
#ifdef RGB_DI_PIN #ifdef RGB_DI_PIN
# define RGBLED_NUM 6 # define RGBLED_NUM 6

View File

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

View File

@ -26,12 +26,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
#define LOCKING_RESYNC_ENABLE #define LOCKING_RESYNC_ENABLE
#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 2 #define BACKLIGHT_PAL_MODE 2
#define BACKLIGHT_LEVELS 20
#define BACKLIGHT_BREATHING
#define RGB_DI_PIN B15 #define RGB_DI_PIN B15
#define RGBLED_NUM 34 #define RGBLED_NUM 34

View File

@ -5,7 +5,10 @@
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"backlight": { "backlight": {
"on_state": 0 "pin": "A6",
"levels": 20,
"on_state": 0,
"breathing": true
}, },
"indicators": { "indicators": {
"caps_lock": "A10" "caps_lock": "A10"

View File

@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
BACKLIGHT_DRIVER = pwm
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
LTO_ENABLE = yes LTO_ENABLE = yes

View File

@ -26,12 +26,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
#define LOCKING_RESYNC_ENABLE #define LOCKING_RESYNC_ENABLE
#define BACKLIGHT_PIN B0
#define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 3 #define BACKLIGHT_PWM_CHANNEL 3
#define BACKLIGHT_PAL_MODE 2 #define BACKLIGHT_PAL_MODE 2
#define BACKLIGHT_LEVELS 20
#define BACKLIGHT_BREATHING
#define RGB_DI_PIN B15 #define RGB_DI_PIN B15
#define RGBLED_NUM 34 #define RGBLED_NUM 34

View File

@ -4,6 +4,11 @@
"pid": "0x6585", "pid": "0x6585",
"device_version": "0.0.2" "device_version": "0.0.2"
}, },
"backlight": {
"pin": "B0",
"levels": 20,
"breathing": true
},
"indicators": { "indicators": {
"caps_lock": "C8" "caps_lock": "C8"
}, },

View File

@ -8,7 +8,6 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
BACKLIGHT_DRIVER = pwm
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
LTO_ENABLE = yes LTO_ENABLE = yes

View File

@ -21,12 +21,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { C13, A4, A7, B0, B1, B2 } #define MATRIX_ROW_PINS { C13, A4, A7, B0, B1, B2 }
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_PAL_MODE 1
#define BACKLIGHT_LEVELS 6
#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE

View File

@ -8,6 +8,11 @@
"pid": "0x4175", "pid": "0x4175",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"backlight": {
"pin": "A6",
"levels": 6,
"breathing": true
},
"processor": "STM32F072", "processor": "STM32F072",
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",
"layouts": { "layouts": {

View File

@ -23,13 +23,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_PAL_MODE 1
#define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 20
#define BACKLIGHT_DEFAULT_LEVEL 10
#define RGB_DI_PIN B15 #define RGB_DI_PIN B15
#define RGBLED_NUM 16 #define RGBLED_NUM 16

View File

@ -9,6 +9,9 @@
"device_version": "0.0.2" "device_version": "0.0.2"
}, },
"backlight": { "backlight": {
"pin": "A6",
"levels": 20,
"breathing": true,
"breathing_period": 3 "breathing_period": 3
}, },
"processor": "STM32F072", "processor": "STM32F072",

View File

@ -44,7 +44,6 @@ B0, which is unconnected on the PCB
/* COL2ROW, ROW2COL*/ /* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN B0
#define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 3 #define BACKLIGHT_PWM_CHANNEL 3

View File

@ -6,6 +6,9 @@
"pid": "0x5368", "pid": "0x5368",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"backlight": {
"pin": "B0"
},
"processor": "STM32F303", "processor": "STM32F303",
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",
"board": "QMK_PROTON_C", "board": "QMK_PROTON_C",

View File

@ -25,12 +25,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
#define LOCKING_RESYNC_ENABLE #define LOCKING_RESYNC_ENABLE
#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 2 #define BACKLIGHT_PAL_MODE 2
#define BACKLIGHT_LEVELS 20
#define BACKLIGHT_BREATHING
#define RGB_DI_PIN B15 #define RGB_DI_PIN B15
#define RGBLED_NUM 24 #define RGBLED_NUM 24

View File

@ -4,6 +4,11 @@
"pid": "0x5369", "pid": "0x5369",
"device_version": "0.0.2" "device_version": "0.0.2"
}, },
"backlight": {
"pin": "A6",
"levels": 20,
"breathing": true
},
"processor": "STM32F411", "processor": "STM32F411",
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",
"community_layouts": ["ortho_4x12"], "community_layouts": ["ortho_4x12"],

View File

@ -10,7 +10,6 @@ NKRO_ENABLE = yes # Enable N-Key rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output AUDIO_ENABLE = no # Audio output
BACKLIGHT_DRIVER = pwm
LTO_ENABLE = no LTO_ENABLE = no
ENCODER_ENABLE = yes ENCODER_ENABLE = yes

View File

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

View File

@ -8,6 +8,9 @@
"pid": "0xAD78", "pid": "0xAD78",
"device_version": "0.0.2" "device_version": "0.0.2"
}, },
"backlight": {
"pin": "C6"
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",
"layouts": { "layouts": {

View File

@ -50,12 +50,8 @@
#define I2C1_TIMINGR_SCLL 9U #define I2C1_TIMINGR_SCLL 9U
// LED defines // LED defines
#define BACKLIGHT_PIN B5
#define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 2 #define BACKLIGHT_PWM_CHANNEL 2
#define BACKLIGHT_PAL_MODE 1 #define BACKLIGHT_PAL_MODE 1
#define BACKLIGHT_LEVELS 6
#define BACKLIGHT_BREATHING
#define SLEEP_LED_GPT_DRIVER GPTD1 #define SLEEP_LED_GPT_DRIVER GPTD1

View File

@ -7,6 +7,11 @@
"pid": "0xA652", "pid": "0xA652",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"backlight": {
"pin": "B5",
"levels": 6,
"breathing": true
},
"processor": "STM32F072", "processor": "STM32F072",
"bootloader": "stm32-dfu", "bootloader": "stm32-dfu",
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",

View File

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

View File

@ -20,8 +20,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// Fix for prototype missing COL0, COL1, using backlight and RGB underglow I/O pins // Fix for prototype missing COL0, COL1, using backlight and RGB underglow I/O pins
#undef MATRIX_COL_PINS #undef MATRIX_COL_PINS
#define MATRIX_COL_PINS { C4, B7, C6, C7, B6, B5, B4, B3, B2, B1, B0, D6 } #define MATRIX_COL_PINS { C4, B7, C6, C7, B6, B5, B4, B3, B2, B1, B0, D6 }
// This directs backlight code to use a disconnected pin, so the firwmare still has
// backlight code and VIA support even though it doesn't do anything.
#undef BACKLIGHT_PIN
#define BACKLIGHT_PIN D1

View File

@ -1,4 +1,9 @@
{ {
"backlight": {
"pin": "D1",
"levels": 5,
"breathing": true
},
"processor": "atmega32u2", "processor": "atmega32u2",
"bootloader": "atmel-dfu" "bootloader": "atmel-dfu"
} }

View File

@ -1,4 +1,9 @@
{ {
"backlight": {
"pin": "B7",
"levels": 5,
"breathing": true
},
"processor": "atmega32u2", "processor": "atmega32u2",
"bootloader": "atmel-dfu" "bootloader": "atmel-dfu"
} }

View File

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

View File

@ -8,6 +8,9 @@
"pid": "0x0003", "pid": "0x0003",
"device_version": "0.0.3" "device_version": "0.0.3"
}, },
"backlight": {
"pin": "B7"
},
"split": { "split": {
"soft_serial_pin": "D0" "soft_serial_pin": "D0"
}, },

View File

@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/ /* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN B7
#define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 5
#define RGB_DI_PIN D2 #define RGB_DI_PIN D2
#ifdef RGB_DI_PIN #ifdef RGB_DI_PIN
#define RGBLED_NUM 14 #define RGBLED_NUM 14

View File

@ -8,6 +8,11 @@
"pid": "0x0002", "pid": "0x0002",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"backlight": {
"pin": "B7",
"levels": 5,
"breathing": true
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",
"community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_tsangan_hhkb"], "community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_tsangan_hhkb"],

View File

@ -27,9 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define SN74X154_ADDRESS_PINS { D4, D5, D6, D7 } #define SN74X154_ADDRESS_PINS { D4, D5, D6, D7 }
#define SN74X154_E1_PIN D3 #define SN74X154_E1_PIN D3
#define BACKLIGHT_PIN B6
#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */

View File

@ -8,6 +8,10 @@
"pid": "0x6050", "pid": "0x6050",
"device_version": "1.0.4" "device_version": "1.0.4"
}, },
"backlight": {
"pin": "B6",
"breathing": true
},
"indicators": { "indicators": {
"caps_lock": "B7", "caps_lock": "B7",
"num_lock": "D0", "num_lock": "D0",

View File

@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/ /* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN B6
#define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 5
#define RGB_DI_PIN E6 #define RGB_DI_PIN E6
#ifdef RGB_DI_PIN #ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_BREATHING

View File

@ -7,6 +7,11 @@
"pid": "0x0000", "pid": "0x0000",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"backlight": {
"pin": "B6",
"levels": 5,
"breathing": true
},
"indicators": { "indicators": {
"caps_lock": "B7", "caps_lock": "B7",
"on_state": 0 "on_state": 0

View File

@ -34,9 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/ /* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN B7
#define BACKLIGHT_BREATHING
#define RGB_DI_PIN F7 #define RGB_DI_PIN F7
#ifdef RGB_DI_PIN #ifdef RGB_DI_PIN
#define RGBLED_NUM 28 #define RGBLED_NUM 28

View File

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

View File

@ -26,8 +26,6 @@
/* COL2ROW or ROW2COL */ /* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN B6
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE

View File

@ -12,6 +12,9 @@
"caps_lock": "B2", "caps_lock": "B2",
"on_state": 0 "on_state": 0
}, },
"backlight": {
"pin": "B6"
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",
"layouts": { "layouts": {

View File

@ -23,8 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { F4, F5, F6, F7} #define MATRIX_ROW_PINS { F4, F5, F6, F7}
#define MATRIX_COL_PINS { F1, F0, E6, C7, C6, B0, D4, B1, B7, B5, B4, D7} #define MATRIX_COL_PINS { F1, F0, E6, C7, C6, B0, D4, B1, B7, B5, B4, D7}
#define BACKLIGHT_PIN B6
/* COL2ROW or ROW2COL */ /* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
@ -33,10 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */ /* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE #define LOCKING_RESYNC_ENABLE
/* Backlight configuration
*/
#define BACKLIGHT_LEVELS 4
/* Underlight configuration /* Underlight configuration
*/ */

View File

@ -8,6 +8,10 @@
"pid": "0x6072", "pid": "0x6072",
"device_version": "0.0.2" "device_version": "0.0.2"
}, },
"backlight": {
"pin": "B6",
"levels": 4
},
"indicators": { "indicators": {
"caps_lock": "B2", "caps_lock": "B2",
"on_state": 0 "on_state": 0

View File

@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */ /* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN B6
#define BACKLIGHT_LEVELS 4
#define BACKLIGHT_BREATHING
#define RGB_DI_PIN E2 #define RGB_DI_PIN E2
#ifdef RGB_DI_PIN #ifdef RGB_DI_PIN
# define RGBLED_NUM 8 # define RGBLED_NUM 8

View File

@ -8,6 +8,11 @@
"pid": "0x6066", "pid": "0x6066",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"backlight": {
"pin": "B6",
"levels": 4,
"breathing": true
},
"indicators": { "indicators": {
"caps_lock": "B2", "caps_lock": "B2",
"on_state": 0 "on_state": 0

View File

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

View File

@ -8,6 +8,10 @@
"pid": "0xBD66", "pid": "0xBD66",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"backlight": {
"pin": "D4",
"breathing": true
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",
"community_layouts": ["66_ansi", "66_iso"], "community_layouts": ["66_ansi", "66_iso"],

View File

@ -20,9 +20,6 @@
/* COL2ROW, ROW2COL */ /* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN B6
#define BACKLIGHT_BREATHING
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */ /* Locking resynchronize hack */

View File

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

View File

@ -23,8 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { F7, F6, F5, F4, D5, D0 } #define MATRIX_ROW_PINS { F7, F6, F5, F4, D5, D0 }
#define MATRIX_COL_PINS { F1, F0, E6, C7 } #define MATRIX_COL_PINS { F1, F0, E6, C7 }
#define BACKLIGHT_PIN B6
/* COL2ROW or ROW2COL */ /* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
@ -33,10 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */ /* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE #define LOCKING_RESYNC_ENABLE
/* Backlight configuration
*/
#define BACKLIGHT_LEVELS 4
/* Underlight configuration /* Underlight configuration
*/ */

View File

@ -8,6 +8,10 @@
"pid": "0x6060", "pid": "0x6060",
"device_version": "0.0.3" "device_version": "0.0.3"
}, },
"backlight": {
"pin": "B6",
"levels": 4
},
"indicators": { "indicators": {
"num_lock": "D6", "num_lock": "D6",
"on_state": 0 "on_state": 0

View File

@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#define BACKLIGHT_PIN D7
#define BACKLIGHT_BREATHING
#define RGBLIGHT_SLEEP #define RGBLIGHT_SLEEP

View File

@ -8,6 +8,10 @@
"pid": "0x0001", "pid": "0x0001",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"backlight": {
"pin": "D7",
"breathing": true
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "caterina", "bootloader": "caterina",
"matrix_pins": { "matrix_pins": {

View File

@ -25,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN D4
#define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL #define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@ -8,6 +8,9 @@
"pid": "0x422D", "pid": "0x422D",
"device_version": "2.0.0" "device_version": "2.0.0"
}, },
"backlight": {
"pin": "D4"
},
"indicators": { "indicators": {
"caps_lock": "D1" "caps_lock": "D1"
}, },

View File

@ -31,8 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { D0, D5, B5, B6, C6 } #define MATRIX_ROW_PINS { D0, D5, B5, B6, C6 }
#define MATRIX_COL_PINS { F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7, D3, D2, D1 } #define MATRIX_COL_PINS { F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7, D3, D2, D1 }
#define BACKLIGHT_PIN B7
/* COL2ROW or ROW2COL */ /* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW

View File

@ -7,6 +7,9 @@
"pid": "0x6060", "pid": "0x6060",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"backlight": {
"pin": "B7"
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",
"layout_aliases": { "layout_aliases": {

View File

@ -34,10 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/ /* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN B7
#define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 5
#define RGB_DI_PIN D2 #define RGB_DI_PIN D2
#ifdef RGB_DI_PIN #ifdef RGB_DI_PIN
#define RGBLED_NUM 14 #define RGBLED_NUM 14

View File

@ -8,6 +8,11 @@
"pid": "0x0001", "pid": "0x0001",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"backlight": {
"pin": "B7",
"levels": 5,
"breathing": true
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",
"community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_tsangan_hhkb"], "community_layouts": ["60_ansi", "60_ansi_split_bs_rshift", "60_tsangan_hhkb"],

View File

@ -22,6 +22,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS { D4, C6, D7, E6, B4, B5 } #define MATRIX_COL_PINS { D4, C6, D7, E6, B4, B5 }
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN B6
#define BACKLIGHT_LEVELS 7

View File

@ -9,6 +9,8 @@
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"backlight": { "backlight": {
"pin": "B6",
"levels": 7,
"max_brightness": 150 "max_brightness": 150
}, },
"processor": "atmega32u4", "processor": "atmega32u4",

View File

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

View File

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

View File

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

View File

@ -8,6 +8,9 @@
"vid": "0xFEED", "vid": "0xFEED",
"pid": "0x09F5" "pid": "0x09F5"
}, },
"backlight": {
"pin": "F7"
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "atmel-dfu" "bootloader": "atmel-dfu"
} }

View File

@ -25,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN D4
#define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL #define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@ -8,6 +8,9 @@
"pid": "0x422D", "pid": "0x422D",
"device_version": "2.0.0" "device_version": "2.0.0"
}, },
"backlight": {
"pin": "D4"
},
"indicators": { "indicators": {
"caps_lock": "D1" "caps_lock": "D1"
}, },

View File

@ -25,10 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */ /* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN B7
#define BACKLIGHT_LEVELS 8
#define BACKLIGHT_BREATHING
#define RGB_DI_PIN B1 #define RGB_DI_PIN B1
#ifdef RGB_DI_PIN #ifdef RGB_DI_PIN
# define RGBLED_NUM 5 # define RGBLED_NUM 5

View File

@ -8,6 +8,11 @@
"pid": "0x4660", "pid": "0x4660",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"backlight": {
"pin": "B7",
"levels": 8,
"breathing": true
},
"indicators": { "indicators": {
"caps_lock": "F0" "caps_lock": "F0"
}, },

View File

@ -32,10 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { E6, B0, F1, F5, F4 } #define MATRIX_ROW_PINS { E6, B0, F1, F5, F4 }
#define MATRIX_COL_PINS { F6, F7, B3, C7, C6, B6, B5, D5, B4, D7, D6, D4, D1, D0 } #define MATRIX_COL_PINS { F6, F7, B3, C7, C6, B6, B5, D5, B4, D7, D6, D4, D1, D0 }
/* Backlight Setup */
#define BACKLIGHT_PIN B7
#define BACKLIGHT_LEVELS 12
/* COL2ROW or ROW2COL */ /* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW

View File

@ -8,6 +8,10 @@
"pid": "0x6080", "pid": "0x6080",
"device_version": "0.0.1" "device_version": "0.0.1"
}, },
"backlight": {
"pin": "B7",
"levels": 12
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "qmk-dfu", "bootloader": "qmk-dfu",
"layouts": { "layouts": {

View File

@ -10,11 +10,6 @@
/* COL2ROW or ROW2COL */ /* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW #define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PIN B7
#ifdef BACKLIGHT_PIN
# define BACKLIGHT_LEVELS 8
#endif
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE #define LOCKING_SUPPORT_ENABLE

Some files were not shown because too many files have changed in this diff Show More