Move backlight config to data driven, part 1 (#19887)
parent
4b69225c22
commit
9c0ce80d7e
|
@ -17,10 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#pragma once
|
||||
|
||||
#define BACKLIGHT_LED_COUNT 2
|
||||
#undef BACKLIGHT_PIN
|
||||
#define BACKLIGHT_PINS { F6, F7 }
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0x0000",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"pins": ["F6", "F7"]
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
"matrix_pins": {
|
||||
|
|
|
@ -20,4 +20,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
/* Backlight */
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_PINS { F4, F5 } // Top Row, Bottom Row
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0x5350",
|
||||
"device_version": "10.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"pins": ["F4", "F5"]
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "B0",
|
||||
"num_lock": "D5",
|
||||
|
|
|
@ -25,7 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PWM_DRIVER PWMD2
|
||||
#define BACKLIGHT_PWM_CHANNEL 4
|
||||
#define BACKLIGHT_PAL_MODE 2
|
||||
#define BACKLIGHT_ON_STATE 1
|
||||
#define BACKLIGHT_LEVELS 10
|
||||
#define BACKLIGHT_BREATHING TRUE
|
||||
|
||||
|
|
|
@ -27,8 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PAL_MODE 1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
#define BACKLIGHT_ON_STATE 1
|
||||
|
||||
/* Underglow */
|
||||
#define RGBLED_NUM 16
|
||||
|
|
|
@ -6,9 +6,6 @@
|
|||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
#define BACKLIGHT_LED_COUNT 8
|
||||
#undef BACKLIGHT_PIN
|
||||
#define BACKLIGHT_PINS { D1, D0, D4, C6, D7, E6, B4, B5 }
|
||||
#define BACKLIGHT_LEVELS 8
|
||||
|
||||
// ws2812 options
|
||||
|
|
|
@ -7,6 +7,9 @@
|
|||
"vid": "0xFEED",
|
||||
"pid": "0x2171"
|
||||
},
|
||||
"backlight": {
|
||||
"pins": ["D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"]
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
"matrix_pins": {
|
||||
|
|
|
@ -32,8 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PAL_MODE 2
|
||||
#define BACKLIGHT_LEVELS 20
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 5
|
||||
#define BACKLIGHT_ON_STATE 0
|
||||
|
||||
#define RGB_DI_PIN B15
|
||||
#define RGBLED_NUM 34
|
||||
|
|
|
@ -4,6 +4,10 @@
|
|||
"pid": "0x6584",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"on_state": 0,
|
||||
"breathing_period": 5
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "A10"
|
||||
},
|
||||
|
|
|
@ -32,7 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PAL_MODE 2
|
||||
#define BACKLIGHT_LEVELS 20
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 5
|
||||
|
||||
#define RGB_DI_PIN B15
|
||||
#define RGBLED_NUM 34
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
"pid": "0x6585",
|
||||
"device_version": "0.0.2"
|
||||
},
|
||||
"backlight": {
|
||||
"breathing_period": 5
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "C8"
|
||||
},
|
||||
|
|
|
@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PAL_MODE 1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -30,7 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_BREATHING
|
||||
#define BACKLIGHT_LEVELS 20
|
||||
#define BACKLIGHT_DEFAULT_LEVEL 10
|
||||
#define BREATHING_PERIOD 3
|
||||
|
||||
#define RGB_DI_PIN B15
|
||||
#define RGBLED_NUM 16
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0x454D",
|
||||
"device_version": "0.0.2"
|
||||
},
|
||||
"backlight": {
|
||||
"breathing_period": 3
|
||||
},
|
||||
"processor": "STM32F072",
|
||||
"bootloader": "stm32-dfu",
|
||||
"layouts": {
|
||||
|
|
|
@ -31,8 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PAL_MODE 2
|
||||
#define BACKLIGHT_LEVELS 20
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 5
|
||||
#define BACKLIGHT_ON_STATE 1
|
||||
|
||||
#define RGB_DI_PIN B15
|
||||
#define RGBLED_NUM 24
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
"pid": "0x5369",
|
||||
"device_version": "0.0.2"
|
||||
},
|
||||
"backlight": {
|
||||
"breathing_period": 5
|
||||
},
|
||||
"processor": "STM32F411",
|
||||
"bootloader": "stm32-dfu",
|
||||
"community_layouts": ["ortho_4x12"],
|
||||
|
|
|
@ -57,6 +57,5 @@
|
|||
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
#define SLEEP_LED_GPT_DRIVER GPTD1
|
||||
|
|
|
@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PIN D4
|
||||
#define BACKLIGHT_LEVELS 3
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -24,6 +24,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define BACKLIGHT_PIN B6
|
||||
#define BACKLIGHT_ON_STATE 1
|
||||
#define BACKLIGHT_LEVELS 7
|
||||
#define BACKLIGHT_LIMIT_VAL 150
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0x5F10",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"max_brightness": 150
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
"layout_aliases": {
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
#define BACKLIGHT_PAL_MODE 1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PWM_CHANNEL 1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PAL_MODE 1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PAL_MODE 1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
#define BACKLIGHT_PAL_MODE 1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PAL_MODE 1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PAL_MODE 1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PAL_MODE 1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PAL_MODE 1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PAL_MODE 1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PAL_MODE 1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PAL_MODE 1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PAL_MODE 1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PAL_MODE 1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PWM_CHANNEL 1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PWM_CHANNEL 1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PWM_CHANNEL 1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
#define ENCODERS_PAD_A { B9 }
|
||||
#define ENCODERS_PAD_B { B8 }
|
||||
|
|
|
@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PWM_CHANNEL 1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PWM_CHANNEL 1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PAL_MODE 1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PAL_MODE 1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -35,7 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
//LEDS A6, RGB B15
|
||||
#define BACKLIGHT_LEVELS 24
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
// I2C config
|
||||
#define I2C_DRIVER I2CD1
|
||||
|
|
|
@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PAL_MODE 1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PAL_MODE 1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PAL_MODE 1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PAL_MODE 1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -30,7 +30,6 @@ Copyright 2021 Nathan Spears
|
|||
#define BACKLIGHT_PWM_DRIVER PWMD3
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
// ws2812 options
|
||||
#define RGB_DI_PIN D2 // pin the DI on the ws2812 is hooked-up to
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
#define BACKLIGHT_PIN C4
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
// ws2812 options
|
||||
#define RGB_DI_PIN C5 // pin the DI on the ws2812 is hooked-up to
|
||||
|
|
|
@ -29,7 +29,6 @@ Copyright 2022 Nathan Spears
|
|||
#define BACKLIGHT_PIN D1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
// ws2812 options
|
||||
#define RGB_DI_PIN B1 // pin the DI on the ws2812 is hooked-up to
|
||||
|
|
|
@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PAL_MODE 1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PAL_MODE 1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -20,11 +20,8 @@
|
|||
#define OLED_UPDATE_INTERVAL 33
|
||||
|
||||
#define BACKLIGHT_PIN B5
|
||||
#define BACKLIGHT_LIMIT_VAL 255
|
||||
#define BACKLIGHT_ON_STATE 0
|
||||
#define BACKLIGHT_LEVELS 17
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
#define OLED_DISABLE_TIMEOUT
|
||||
|
||||
|
|
|
@ -9,6 +9,9 @@
|
|||
"pid": "0xFAB5",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"on_state": 0
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "qmk-dfu",
|
||||
"diode_direction": "COL2ROW",
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#ifdef BACKLIGHT_ENABLE
|
||||
#define BACKLIGHT_PIN B11
|
||||
#define BACKLIGHT_LEVELS 5
|
||||
#define BACKLIGHT_ON_STATE 0
|
||||
#endif
|
||||
|
||||
/* RGB Matrix */
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0x7342",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"on_state": 0
|
||||
},
|
||||
"processor": "STM32F103",
|
||||
"bootloader": "stm32duino",
|
||||
"layouts": {
|
||||
|
|
|
@ -24,9 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#undef BACKLIGHT_PIN
|
||||
#define BACKLIGHT_PINS { B1, B2, B3, E6 }
|
||||
#define BACKLIGHT_LED_COUNT 4
|
||||
#define BACKLIGHT_LEVELS 10
|
||||
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0x4F52",
|
||||
"device_version": "0.0.2"
|
||||
},
|
||||
"backlight": {
|
||||
"pins": ["B1", "B2", "B3", "E6"]
|
||||
},
|
||||
"bootmagic": {
|
||||
"matrix": [4, 10]
|
||||
},
|
||||
|
|
|
@ -31,7 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PWM_CHANNEL 2
|
||||
#define BACKLIGHT_PAL_MODE 2
|
||||
#define BACKLIGHT_LEVELS 5
|
||||
#define BACKLIGHT_ON_STATE 1
|
||||
#define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it.
|
||||
|
||||
/* Underglow */
|
||||
|
|
|
@ -44,7 +44,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#ifdef BACKLIGHT_PIN
|
||||
#define BACKLIGHT_LEVELS 2
|
||||
#define BACKLIGHT_BREAHTING
|
||||
#define BREATHING_PERIOD 3
|
||||
#endif
|
||||
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0x6060",
|
||||
"device_version": "0.0.2"
|
||||
},
|
||||
"backlight": {
|
||||
"breathing_period": 3
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "B7",
|
||||
"on_state": 0
|
||||
|
|
|
@ -44,7 +44,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#ifdef BACKLIGHT_PIN
|
||||
#define BACKLIGHT_LEVELS 5
|
||||
#define BACKLIGHT_BREAHTING
|
||||
#define BREATHING_PERIOD 3
|
||||
#endif
|
||||
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0x6060",
|
||||
"device_version": "0.0.2"
|
||||
},
|
||||
"backlight": {
|
||||
"breathing_period": 3
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu",
|
||||
"community_layouts": ["60_ansi"],
|
||||
|
|
|
@ -38,7 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
* https://docs.qmk.fm/#/feature_backlight?id=timer-assisted-pwm-implementation
|
||||
*/
|
||||
#define BACKLIGHT_PIN D4
|
||||
#define BACKLIGHT_ON_STATE 0
|
||||
|
||||
#define RGB_DI_PIN B2
|
||||
#ifdef RGB_DI_PIN
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0x1000",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"on_state": 0
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "lufa-ms",
|
||||
"layouts": {
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
#define BACKLIGHT_LEVELS 3
|
||||
#define BACKLIGHT_PIN B5
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 5
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0x6060",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"breathing_period": 5
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
"community_layouts": ["ortho_5x12"],
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define BACKLIGHT_LEVELS 5
|
||||
#define RGBLIGHT_EFFECT_SNAKE_LENGTH 4
|
||||
#define BREATHING_PERIOD 2
|
||||
#define RGBLIGHT_LIMIT_VAL 255
|
||||
#define RGBLIGHT_HUE_STEP 10
|
||||
#define RGBLIGHT_SAT_STEP 17
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0x0007",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"breathing_period": 2
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
"layouts": {
|
||||
|
|
|
@ -30,15 +30,6 @@
|
|||
#define MATRIX_ROW_PINS { C0, B4, F3, F4, F5, F6 }
|
||||
#define MATRIX_COL_PINS { C2, C1, E0, D4, D5, A4, A0, B2, B0, E7, E6, D6, B1, B3, D3, D2, B6, F7, F0, F1, F2 }
|
||||
|
||||
/*Row 0, resistor R132, Pin A1
|
||||
*Row 1, R131, Pin B5
|
||||
*Row 2, R130, Pin E4
|
||||
*Row 3, R129, Pin A2
|
||||
*Row 4, R128, Pin E5
|
||||
*Row 5, R127, Pin A7
|
||||
#define BACKLIGHT_PINS { B5, E5, E4, A7, A1, A2 }
|
||||
#define BACKLIGHT_LEVELS 1*/
|
||||
|
||||
#define DIODE_DIRECTION ROW2COL
|
||||
|
||||
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#define BACKLIGHT_PWM_DRIVER PWMD5
|
||||
#define BACKLIGHT_PWM_CHANNEL 1
|
||||
#define BACKLIGHT_LEVELS 5
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Encoder */
|
||||
#define ENCODERS_PAD_A \
|
||||
|
|
|
@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PAL_MODE 1
|
||||
#define BACKLIGHT_LEVELS 20
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 5
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0x1180",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"breathing_period": 5
|
||||
},
|
||||
"processor": "STM32F072",
|
||||
"bootloader": "stm32-dfu",
|
||||
"layouts": {
|
||||
|
|
|
@ -34,7 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PIN C6
|
||||
#define BACKLIGHT_LEVELS 5
|
||||
#define BACKLIGHT_BREATHING //not working with splits right now
|
||||
#define BREATHING_PERIOD 6
|
||||
#endif
|
||||
|
||||
/* ws2812 RGB LED */
|
||||
|
|
|
@ -81,7 +81,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#ifdef BACKLIGHT_ENABLE
|
||||
#define BACKLIGHT_PIN B6
|
||||
#define BACKLIGHT_LEVELS 5
|
||||
#define BREATHING_PERIOD 6
|
||||
#endif
|
||||
|
||||
/* ws2812 RGB LED */
|
||||
|
|
|
@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#ifdef BACKLIGHT_ENABLE
|
||||
#define BACKLIGHT_PIN C6
|
||||
#define BACKLIGHT_LEVELS 5
|
||||
#define BREATHING_PERIOD 6
|
||||
#endif
|
||||
|
||||
/* ws2812 RGB LED */
|
||||
|
|
|
@ -28,4 +28,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
/* Backlight */
|
||||
#define BACKLIGHT_PIN B1
|
||||
#define BACKLIGHT_LEVELS 8
|
||||
#define BACKLIGHT_ON_STATE 0
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0x9879",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"on_state": 0
|
||||
},
|
||||
"processor": "atmega328p",
|
||||
"bootloader": "usbasploader",
|
||||
"layouts": {
|
||||
|
|
|
@ -37,7 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#ifdef BACKLIGHT_PIN
|
||||
#define BACKLIGHT_LEVELS 3
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
#endif
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
|
|
|
@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PAL_MODE 1
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -36,7 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#define BACKLIGHT_PIN F7
|
||||
#define BACKLIGHT_LEVELS 3
|
||||
#define BACKLIGHT_ON_STATE 0
|
||||
|
||||
#define RGB_DI_PIN F6
|
||||
#ifdef RGB_DI_PIN
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0xB1E5",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"on_state": 0
|
||||
},
|
||||
"indicators": {
|
||||
"num_lock": "B2",
|
||||
"on_state": 0
|
||||
|
|
|
@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
// Add backwards compatibility for existing keymaps
|
||||
static inline void backlight_set_value(uint8_t index, uint8_t level) {
|
||||
static const uint8_t backlight_pins[BACKLIGHT_LED_COUNT] = BACKLIGHT_PINS;
|
||||
static const uint8_t backlight_pins[] = BACKLIGHT_PINS;
|
||||
if (level) {
|
||||
setPinOutput(backlight_pins[index]);
|
||||
} else {
|
||||
|
|
|
@ -30,8 +30,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLIGHT_LIMIT_VAL 200
|
||||
|
||||
|
||||
#undef BACKLIGHT_PIN
|
||||
#define BACKLIGHT_PINS { C2, C7, D5, D6, B0 }
|
||||
#define BACKLIGHT_LED_COUNT 5
|
||||
#define BACKLIGHT_LEVELS 10
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0x2328",
|
||||
"device_version": "2.0.5"
|
||||
},
|
||||
"backlight": {
|
||||
"pins": ["C2", "C7", "D5", "D6", "B0"]
|
||||
},
|
||||
"bootmagic": {
|
||||
"matrix": [0, 1]
|
||||
},
|
||||
|
|
|
@ -27,4 +27,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
/* Backlight */
|
||||
#define BACKLIGHT_PIN B5 // Timer 1 on mega32u4
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BACKLIGHT_ON_STATE 1
|
||||
|
|
|
@ -31,5 +31,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PWM_CHANNEL 2
|
||||
#define BACKLIGHT_PAL_MODE 2
|
||||
#define BACKLIGHT_LEVELS 5
|
||||
#define BACKLIGHT_ON_STATE 1
|
||||
#define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it.
|
||||
|
|
|
@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
/* Backlight */
|
||||
#define BACKLIGHT_PIN B7 // Timer 1 on mega32u4
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BACKLIGHT_ON_STATE 1
|
||||
|
||||
/* Underglow */
|
||||
#define RGB_DI_PIN E2
|
||||
|
|
|
@ -31,7 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PWM_CHANNEL 3
|
||||
#define BACKLIGHT_PAL_MODE 6
|
||||
#define BACKLIGHT_LEVELS 5
|
||||
#define BACKLIGHT_ON_STATE 1
|
||||
#define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it.
|
||||
|
||||
/* Underglow */
|
||||
|
|
|
@ -28,8 +28,6 @@
|
|||
|
||||
#ifdef BACKLIGHT_PIN
|
||||
# define BACKLIGHT_LEVELS 10
|
||||
# define BACKLIGHT_ON_STATE 1
|
||||
# define BACKLIGHT_LIMIT_VAL 255
|
||||
#endif
|
||||
|
||||
#ifdef RGB_DI_PIN
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
|
||||
#define BACKLIGHT_PIN B7
|
||||
#define BACKLIGHT_CUSTOM_RESOLUTION 0x400
|
||||
#define BACKLIGHT_LIMIT_VAL 84
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0x1302",
|
||||
"device_version": "0.0.2"
|
||||
},
|
||||
"backlight": {
|
||||
"max_brightness": 84
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu",
|
||||
"layouts": {
|
||||
|
|
|
@ -22,4 +22,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_LEVELS 6
|
||||
#define BACKLIGHT_CAPS_LOCK
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 5
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0x3366",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"breathing_period": 5
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu",
|
||||
"layout_aliases": {
|
||||
|
|
|
@ -33,7 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PAL_MODE 1
|
||||
#define BACKLIGHT_LEVELS 24
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
#define SLEEP_LED_GPT_DRIVER GPTD1
|
||||
|
||||
|
|
|
@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define BACKLIGHT_PIN B7
|
||||
#define BACKLIGHT_LEVELS 3
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define BREATHING_PERIOD 6
|
||||
|
||||
/*Encoders */
|
||||
#define ENCODERS_PAD_A { D0 }
|
||||
|
|
|
@ -23,8 +23,6 @@
|
|||
#define ENCODERS_PAD_B { B0 }
|
||||
#define ENCODER_RESOLUTION 4
|
||||
|
||||
#define BACKLIGHT_ON_STATE 0
|
||||
|
||||
#define BACKLIGHT_PIN B5
|
||||
#define BACKLIGHT_LEVELS 5
|
||||
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0xB44C",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"backlight": {
|
||||
"on_state": 0
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "B6"
|
||||
},
|
||||
|
|
|
@ -21,9 +21,6 @@
|
|||
#define MATRIX_ROW_PINS { B2, B3, B1, D4, B4, D1, E6, B0, F0, F1, F4, F5 }
|
||||
#define MATRIX_COL_PINS { D0, D2, D3, D5, B5, D7, F6, F7, C7, B6 }
|
||||
|
||||
/* LED Configuration */
|
||||
#define BACKLIGHT_PINS {D6}
|
||||
|
||||
#define BACKLIGHT_LEVELS 6
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
"pid": "0x4A58",
|
||||
"device_version": "0.2.0"
|
||||
},
|
||||
"backlight": {
|
||||
"pins": ["D6"]
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "B7",
|
||||
"num_lock": "C6"
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue