mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-17 13:12:08 +00:00
Merge remote-tracking branch 'origin/develop' into xap
This commit is contained in:
commit
a88aa56a9e
@ -23,9 +23,6 @@
|
|||||||
"rgblight": {
|
"rgblight": {
|
||||||
"led_count": 1,
|
"led_count": 1,
|
||||||
"hue_steps": 10,
|
"hue_steps": 10,
|
||||||
"saturation_steps": 17,
|
|
||||||
"brightness_steps": 17,
|
|
||||||
"max_brightness": 255,
|
|
||||||
"animations": {
|
"animations": {
|
||||||
"alternating": true,
|
"alternating": true,
|
||||||
"breathing": true,
|
"breathing": true,
|
||||||
|
@ -22,9 +22,6 @@
|
|||||||
"rgblight": {
|
"rgblight": {
|
||||||
"led_count": 4,
|
"led_count": 4,
|
||||||
"hue_steps": 10,
|
"hue_steps": 10,
|
||||||
"saturation_steps": 17,
|
|
||||||
"brightness_steps": 17,
|
|
||||||
"max_brightness": 255,
|
|
||||||
"animations": {
|
"animations": {
|
||||||
"alternating": true,
|
"alternating": true,
|
||||||
"breathing": true,
|
"breathing": true,
|
||||||
|
@ -36,9 +36,7 @@
|
|||||||
"static_gradient": true
|
"static_gradient": true
|
||||||
},
|
},
|
||||||
"brightness_steps": 8,
|
"brightness_steps": 8,
|
||||||
"hue_steps": 8,
|
|
||||||
"led_count": 8,
|
"led_count": 8,
|
||||||
"max_brightness": 255,
|
|
||||||
"saturation_steps": 8,
|
"saturation_steps": 8,
|
||||||
"sleep": true
|
"sleep": true
|
||||||
},
|
},
|
||||||
|
@ -36,8 +36,6 @@
|
|||||||
"rgblight": {
|
"rgblight": {
|
||||||
"led_count": 20,
|
"led_count": 20,
|
||||||
"hue_steps": 17,
|
"hue_steps": 17,
|
||||||
"saturation_steps": 17,
|
|
||||||
"brightness_steps": 17,
|
|
||||||
"animations": {
|
"animations": {
|
||||||
"static_gradient": true,
|
"static_gradient": true,
|
||||||
"twinkle": true,
|
"twinkle": true,
|
||||||
|
@ -26,10 +26,8 @@
|
|||||||
},
|
},
|
||||||
"rgblight": {
|
"rgblight": {
|
||||||
"led_count": 14,
|
"led_count": 14,
|
||||||
"hue_steps": 8,
|
|
||||||
"saturation_steps": 8,
|
"saturation_steps": 8,
|
||||||
"brightness_steps": 8,
|
"brightness_steps": 8,
|
||||||
"max_brightness": 255,
|
|
||||||
"sleep": true,
|
"sleep": true,
|
||||||
"animations": {
|
"animations": {
|
||||||
"alternating": true,
|
"alternating": true,
|
||||||
|
@ -32,10 +32,8 @@
|
|||||||
"static_gradient": true,
|
"static_gradient": true,
|
||||||
"twinkle": true
|
"twinkle": true
|
||||||
},
|
},
|
||||||
"brightness_steps": 17,
|
|
||||||
"hue_steps": 10,
|
"hue_steps": 10,
|
||||||
"led_count": 4,
|
"led_count": 4
|
||||||
"saturation_steps": 17
|
|
||||||
},
|
},
|
||||||
"ws2812": {
|
"ws2812": {
|
||||||
"pin": "F6"
|
"pin": "F6"
|
||||||
|
@ -44,7 +44,6 @@
|
|||||||
"twinkle": true
|
"twinkle": true
|
||||||
},
|
},
|
||||||
"brightness_steps": 8,
|
"brightness_steps": 8,
|
||||||
"hue_steps": 8,
|
|
||||||
"led_count": 16,
|
"led_count": 16,
|
||||||
"saturation_steps": 8
|
"saturation_steps": 8
|
||||||
},
|
},
|
||||||
|
@ -33,10 +33,8 @@
|
|||||||
"static_gradient": true,
|
"static_gradient": true,
|
||||||
"twinkle": true
|
"twinkle": true
|
||||||
},
|
},
|
||||||
"brightness_steps": 17,
|
|
||||||
"hue_steps": 10,
|
"hue_steps": 10,
|
||||||
"led_count": 14,
|
"led_count": 14
|
||||||
"saturation_steps": 17
|
|
||||||
},
|
},
|
||||||
"ws2812": {
|
"ws2812": {
|
||||||
"pin": "B2"
|
"pin": "B2"
|
||||||
|
@ -34,10 +34,8 @@
|
|||||||
"static_gradient": true,
|
"static_gradient": true,
|
||||||
"twinkle": true
|
"twinkle": true
|
||||||
},
|
},
|
||||||
"brightness_steps": 17,
|
|
||||||
"hue_steps": 32,
|
"hue_steps": 32,
|
||||||
"led_count": 14,
|
"led_count": 14
|
||||||
"saturation_steps": 17
|
|
||||||
},
|
},
|
||||||
"ws2812": {
|
"ws2812": {
|
||||||
"pin": "D7"
|
"pin": "D7"
|
||||||
|
@ -34,10 +34,8 @@
|
|||||||
"static_gradient": true,
|
"static_gradient": true,
|
||||||
"twinkle": true
|
"twinkle": true
|
||||||
},
|
},
|
||||||
"brightness_steps": 17,
|
|
||||||
"hue_steps": 32,
|
"hue_steps": 32,
|
||||||
"led_count": 18,
|
"led_count": 18
|
||||||
"saturation_steps": 17
|
|
||||||
},
|
},
|
||||||
"ws2812": {
|
"ws2812": {
|
||||||
"pin": "D7"
|
"pin": "D7"
|
||||||
|
@ -32,10 +32,8 @@
|
|||||||
"static_gradient": true,
|
"static_gradient": true,
|
||||||
"twinkle": true
|
"twinkle": true
|
||||||
},
|
},
|
||||||
"brightness_steps": 17,
|
|
||||||
"hue_steps": 32,
|
"hue_steps": 32,
|
||||||
"led_count": 18,
|
"led_count": 18
|
||||||
"saturation_steps": 17
|
|
||||||
},
|
},
|
||||||
"ws2812": {
|
"ws2812": {
|
||||||
"pin": "D7"
|
"pin": "D7"
|
||||||
|
@ -39,10 +39,8 @@
|
|||||||
"static_gradient": true,
|
"static_gradient": true,
|
||||||
"twinkle": true
|
"twinkle": true
|
||||||
},
|
},
|
||||||
"brightness_steps": 17,
|
|
||||||
"hue_steps": 32,
|
"hue_steps": 32,
|
||||||
"led_count": 26,
|
"led_count": 26
|
||||||
"saturation_steps": 17
|
|
||||||
},
|
},
|
||||||
"ws2812": {
|
"ws2812": {
|
||||||
"pin": "D7"
|
"pin": "D7"
|
||||||
|
@ -25,10 +25,8 @@
|
|||||||
"rows": ["F0", "F5", "F4", "B4"]
|
"rows": ["F0", "F5", "F4", "B4"]
|
||||||
},
|
},
|
||||||
"rgblight": {
|
"rgblight": {
|
||||||
"brightness_steps": 17,
|
|
||||||
"hue_steps": 10,
|
"hue_steps": 10,
|
||||||
"led_count": 4,
|
"led_count": 4
|
||||||
"saturation_steps": 17
|
|
||||||
},
|
},
|
||||||
"ws2812": {
|
"ws2812": {
|
||||||
"pin": "E6"
|
"pin": "E6"
|
||||||
|
@ -29,8 +29,6 @@
|
|||||||
"rgblight": {
|
"rgblight": {
|
||||||
"led_count": 22,
|
"led_count": 22,
|
||||||
"hue_steps": 10,
|
"hue_steps": 10,
|
||||||
"saturation_steps": 17,
|
|
||||||
"brightness_steps": 17,
|
|
||||||
"animations": {
|
"animations": {
|
||||||
"breathing": true,
|
"breathing": true,
|
||||||
"rainbow_mood": true,
|
"rainbow_mood": true,
|
||||||
|
@ -40,7 +40,6 @@
|
|||||||
"rgblight": {
|
"rgblight": {
|
||||||
"led_count": 4,
|
"led_count": 4,
|
||||||
"split": true,
|
"split": true,
|
||||||
"hue_steps": 8,
|
|
||||||
"saturation_steps": 8,
|
"saturation_steps": 8,
|
||||||
"brightness_steps": 8,
|
"brightness_steps": 8,
|
||||||
"sleep": true
|
"sleep": true
|
||||||
|
@ -40,7 +40,6 @@
|
|||||||
"rgblight": {
|
"rgblight": {
|
||||||
"led_count": 5,
|
"led_count": 5,
|
||||||
"split": true,
|
"split": true,
|
||||||
"hue_steps": 8,
|
|
||||||
"saturation_steps": 8,
|
"saturation_steps": 8,
|
||||||
"brightness_steps": 8,
|
"brightness_steps": 8,
|
||||||
"sleep": true
|
"sleep": true
|
||||||
|
@ -40,7 +40,6 @@
|
|||||||
"rgblight": {
|
"rgblight": {
|
||||||
"led_count": 5,
|
"led_count": 5,
|
||||||
"split": true,
|
"split": true,
|
||||||
"hue_steps": 8,
|
|
||||||
"saturation_steps": 8,
|
"saturation_steps": 8,
|
||||||
"brightness_steps": 8,
|
"brightness_steps": 8,
|
||||||
"sleep": true
|
"sleep": true
|
||||||
|
@ -19,10 +19,8 @@
|
|||||||
},
|
},
|
||||||
"rgblight": {
|
"rgblight": {
|
||||||
"led_count": 2,
|
"led_count": 2,
|
||||||
"hue_steps": 8,
|
|
||||||
"saturation_steps": 8,
|
"saturation_steps": 8,
|
||||||
"brightness_steps": 8,
|
"brightness_steps": 8,
|
||||||
"max_brightness": 255,
|
|
||||||
"animations": {
|
"animations": {
|
||||||
"alternating": true,
|
"alternating": true,
|
||||||
"breathing": true,
|
"breathing": true,
|
||||||
|
@ -30,10 +30,8 @@
|
|||||||
},
|
},
|
||||||
"rgblight": {
|
"rgblight": {
|
||||||
"led_count": 8,
|
"led_count": 8,
|
||||||
"hue_steps": 8,
|
|
||||||
"saturation_steps": 8,
|
"saturation_steps": 8,
|
||||||
"brightness_steps": 8,
|
"brightness_steps": 8,
|
||||||
"max_brightness": 255,
|
|
||||||
"animations": {
|
"animations": {
|
||||||
"alternating": true,
|
"alternating": true,
|
||||||
"breathing": true,
|
"breathing": true,
|
||||||
|
@ -35,7 +35,6 @@
|
|||||||
"twinkle": true
|
"twinkle": true
|
||||||
},
|
},
|
||||||
"brightness_steps": 8,
|
"brightness_steps": 8,
|
||||||
"hue_steps": 8,
|
|
||||||
"led_count": 4,
|
"led_count": 4,
|
||||||
"max_brightness": 180,
|
"max_brightness": 180,
|
||||||
"saturation_steps": 8,
|
"saturation_steps": 8,
|
||||||
|
@ -42,7 +42,6 @@
|
|||||||
"sat": 232,
|
"sat": 232,
|
||||||
"speed": 2
|
"speed": 2
|
||||||
},
|
},
|
||||||
"hue_steps": 8,
|
|
||||||
"led_count": 2,
|
"led_count": 2,
|
||||||
"max_brightness": 100,
|
"max_brightness": 100,
|
||||||
"saturation_steps": 8,
|
"saturation_steps": 8,
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
},
|
},
|
||||||
"rgblight": {
|
"rgblight": {
|
||||||
"led_count": 8,
|
"led_count": 8,
|
||||||
"hue_steps": 8,
|
|
||||||
"saturation_steps": 8,
|
"saturation_steps": 8,
|
||||||
"brightness_steps": 8,
|
"brightness_steps": 8,
|
||||||
"animations": {
|
"animations": {
|
||||||
|
@ -39,7 +39,6 @@
|
|||||||
"twinkle": true
|
"twinkle": true
|
||||||
},
|
},
|
||||||
"brightness_steps": 8,
|
"brightness_steps": 8,
|
||||||
"hue_steps": 8,
|
|
||||||
"led_count": 6,
|
"led_count": 6,
|
||||||
"saturation_steps": 8
|
"saturation_steps": 8
|
||||||
},
|
},
|
||||||
|
@ -26,10 +26,8 @@
|
|||||||
},
|
},
|
||||||
"rgblight": {
|
"rgblight": {
|
||||||
"led_count": 16,
|
"led_count": 16,
|
||||||
"hue_steps": 8,
|
|
||||||
"saturation_steps": 8,
|
"saturation_steps": 8,
|
||||||
"brightness_steps": 8,
|
"brightness_steps": 8,
|
||||||
"max_brightness": 255,
|
|
||||||
"sleep": true,
|
"sleep": true,
|
||||||
"animations": {
|
"animations": {
|
||||||
"alternating": true,
|
"alternating": true,
|
||||||
|
@ -10,8 +10,7 @@
|
|||||||
},
|
},
|
||||||
"development_board": "promicro",
|
"development_board": "promicro",
|
||||||
"rgblight": {
|
"rgblight": {
|
||||||
"sleep": true,
|
"sleep": true
|
||||||
"max_brightness": 255
|
|
||||||
},
|
},
|
||||||
"tapping": {
|
"tapping": {
|
||||||
"tap_keycode_delay": 10,
|
"tap_keycode_delay": 10,
|
||||||
|
@ -34,7 +34,6 @@
|
|||||||
"animations": {
|
"animations": {
|
||||||
"rainbow_swirl": true
|
"rainbow_swirl": true
|
||||||
},
|
},
|
||||||
"hue_steps": 8,
|
|
||||||
"saturation_steps": 8,
|
"saturation_steps": 8,
|
||||||
"brightness_steps": 8
|
"brightness_steps": 8
|
||||||
},
|
},
|
||||||
|
@ -18,8 +18,6 @@
|
|||||||
},
|
},
|
||||||
"rgblight": {
|
"rgblight": {
|
||||||
"led_count": 10,
|
"led_count": 10,
|
||||||
"max_brightness": 255,
|
|
||||||
"hue_steps": 8,
|
|
||||||
"saturation_steps": 8,
|
"saturation_steps": 8,
|
||||||
"brightness_steps": 8,
|
"brightness_steps": 8,
|
||||||
"animations": {
|
"animations": {
|
||||||
|
@ -34,10 +34,8 @@
|
|||||||
},
|
},
|
||||||
"rgblight": {
|
"rgblight": {
|
||||||
"led_count": 7,
|
"led_count": 7,
|
||||||
"hue_steps": 8,
|
|
||||||
"saturation_steps": 8,
|
"saturation_steps": 8,
|
||||||
"brightness_steps": 8,
|
"brightness_steps": 8,
|
||||||
"max_brightness": 255,
|
|
||||||
"sleep": true,
|
"sleep": true,
|
||||||
"animations": {
|
"animations": {
|
||||||
"alternating": true,
|
"alternating": true,
|
||||||
|
@ -42,7 +42,6 @@
|
|||||||
"static_gradient": true,
|
"static_gradient": true,
|
||||||
"twinkle": true
|
"twinkle": true
|
||||||
},
|
},
|
||||||
"hue_steps": 8,
|
|
||||||
"layers": {
|
"layers": {
|
||||||
"enabled": true
|
"enabled": true
|
||||||
},
|
},
|
||||||
|
@ -41,7 +41,6 @@
|
|||||||
"static_gradient": true,
|
"static_gradient": true,
|
||||||
"twinkle": true
|
"twinkle": true
|
||||||
},
|
},
|
||||||
"hue_steps": 8,
|
|
||||||
"layers": {
|
"layers": {
|
||||||
"enabled": true
|
"enabled": true
|
||||||
},
|
},
|
||||||
|
@ -42,7 +42,6 @@
|
|||||||
"static_gradient": true,
|
"static_gradient": true,
|
||||||
"twinkle": true
|
"twinkle": true
|
||||||
},
|
},
|
||||||
"hue_steps": 8,
|
|
||||||
"layers": {
|
"layers": {
|
||||||
"enabled": true
|
"enabled": true
|
||||||
},
|
},
|
||||||
|
@ -44,7 +44,6 @@
|
|||||||
"static_gradient": true,
|
"static_gradient": true,
|
||||||
"twinkle": true
|
"twinkle": true
|
||||||
},
|
},
|
||||||
"hue_steps": 8,
|
|
||||||
"layers": {
|
"layers": {
|
||||||
"enabled": true
|
"enabled": true
|
||||||
},
|
},
|
||||||
|
@ -29,8 +29,6 @@
|
|||||||
"rgblight": {
|
"rgblight": {
|
||||||
"led_count": 16,
|
"led_count": 16,
|
||||||
"hue_steps": 10,
|
"hue_steps": 10,
|
||||||
"saturation_steps": 17,
|
|
||||||
"brightness_steps": 17,
|
|
||||||
"animations": {
|
"animations": {
|
||||||
"alternating": true,
|
"alternating": true,
|
||||||
"breathing": true,
|
"breathing": true,
|
||||||
|
@ -52,9 +52,7 @@
|
|||||||
"twinkle": true
|
"twinkle": true
|
||||||
},
|
},
|
||||||
"brightness_steps": 8,
|
"brightness_steps": 8,
|
||||||
"hue_steps": 8,
|
|
||||||
"led_count": 8,
|
"led_count": 8,
|
||||||
"max_brightness": 255,
|
|
||||||
"saturation_steps": 8,
|
"saturation_steps": 8,
|
||||||
"sleep": true
|
"sleep": true
|
||||||
},
|
},
|
||||||
|
@ -35,7 +35,6 @@
|
|||||||
},
|
},
|
||||||
"rgblight": {
|
"rgblight": {
|
||||||
"led_count": 8,
|
"led_count": 8,
|
||||||
"hue_steps": 8,
|
|
||||||
"brightness_steps": 8,
|
"brightness_steps": 8,
|
||||||
"saturation_steps": 8,
|
"saturation_steps": 8,
|
||||||
"animations": {
|
"animations": {
|
||||||
|
@ -26,8 +26,6 @@
|
|||||||
"rgblight": {
|
"rgblight": {
|
||||||
"led_count": 16,
|
"led_count": 16,
|
||||||
"hue_steps": 10,
|
"hue_steps": 10,
|
||||||
"saturation_steps": 17,
|
|
||||||
"brightness_steps": 17,
|
|
||||||
"animations": {
|
"animations": {
|
||||||
"alternating": true,
|
"alternating": true,
|
||||||
"breathing": true,
|
"breathing": true,
|
||||||
|
@ -29,8 +29,6 @@
|
|||||||
"led_count": 3,
|
"led_count": 3,
|
||||||
"sleep": true,
|
"sleep": true,
|
||||||
"hue_steps": 10,
|
"hue_steps": 10,
|
||||||
"saturation_steps": 17,
|
|
||||||
"brightness_steps": 17,
|
|
||||||
"max_brightness": 155,
|
"max_brightness": 155,
|
||||||
"animations": {
|
"animations": {
|
||||||
"alternating": true,
|
"alternating": true,
|
||||||
|
@ -24,7 +24,6 @@
|
|||||||
"rgblight": {
|
"rgblight": {
|
||||||
"led_count": 3,
|
"led_count": 3,
|
||||||
"pin": "B2",
|
"pin": "B2",
|
||||||
"hue_steps": 8,
|
|
||||||
"saturation_steps": 8,
|
"saturation_steps": 8,
|
||||||
"brightness_steps": 8,
|
"brightness_steps": 8,
|
||||||
"animations": {
|
"animations": {
|
||||||
|
@ -34,10 +34,8 @@
|
|||||||
"static_gradient": true,
|
"static_gradient": true,
|
||||||
"twinkle": true
|
"twinkle": true
|
||||||
},
|
},
|
||||||
"brightness_steps": 17,
|
|
||||||
"hue_steps": 10,
|
"hue_steps": 10,
|
||||||
"led_count": 10,
|
"led_count": 10
|
||||||
"saturation_steps": 17
|
|
||||||
},
|
},
|
||||||
"ws2812": {
|
"ws2812": {
|
||||||
"pin": "F5"
|
"pin": "F5"
|
||||||
|
@ -39,7 +39,6 @@
|
|||||||
"twinkle": true
|
"twinkle": true
|
||||||
},
|
},
|
||||||
"sleep": true,
|
"sleep": true,
|
||||||
"max_brightness": 255,
|
|
||||||
"split": true,
|
"split": true,
|
||||||
"split_count": [6, 6]
|
"split_count": [6, 6]
|
||||||
},
|
},
|
||||||
|
@ -26,10 +26,8 @@
|
|||||||
},
|
},
|
||||||
"rgblight": {
|
"rgblight": {
|
||||||
"led_count": 18,
|
"led_count": 18,
|
||||||
"hue_steps": 8,
|
|
||||||
"saturation_steps": 8,
|
"saturation_steps": 8,
|
||||||
"brightness_steps": 8,
|
"brightness_steps": 8,
|
||||||
"max_brightness": 255,
|
|
||||||
"sleep": true,
|
"sleep": true,
|
||||||
"animations": {
|
"animations": {
|
||||||
"alternating": true,
|
"alternating": true,
|
||||||
|
@ -26,10 +26,8 @@
|
|||||||
},
|
},
|
||||||
"rgblight": {
|
"rgblight": {
|
||||||
"led_count": 18,
|
"led_count": 18,
|
||||||
"hue_steps": 8,
|
|
||||||
"saturation_steps": 8,
|
"saturation_steps": 8,
|
||||||
"brightness_steps": 8,
|
"brightness_steps": 8,
|
||||||
"max_brightness": 255,
|
|
||||||
"sleep": true,
|
"sleep": true,
|
||||||
"animations": {
|
"animations": {
|
||||||
"alternating": true,
|
"alternating": true,
|
||||||
|
@ -40,7 +40,6 @@
|
|||||||
},
|
},
|
||||||
"rgblight": {
|
"rgblight": {
|
||||||
"led_count": 24,
|
"led_count": 24,
|
||||||
"hue_steps": 8,
|
|
||||||
"saturation_steps": 8,
|
"saturation_steps": 8,
|
||||||
"brightness_steps": 8,
|
"brightness_steps": 8,
|
||||||
"max_brightness": 200,
|
"max_brightness": 200,
|
||||||
|
@ -36,7 +36,6 @@
|
|||||||
},
|
},
|
||||||
"rgblight": {
|
"rgblight": {
|
||||||
"led_count": 24,
|
"led_count": 24,
|
||||||
"hue_steps": 8,
|
|
||||||
"saturation_steps": 8,
|
"saturation_steps": 8,
|
||||||
"brightness_steps": 8,
|
"brightness_steps": 8,
|
||||||
"max_brightness": 200,
|
"max_brightness": 200,
|
||||||
|
@ -32,8 +32,6 @@
|
|||||||
"rgblight": {
|
"rgblight": {
|
||||||
"led_count": 11,
|
"led_count": 11,
|
||||||
"hue_steps": 10,
|
"hue_steps": 10,
|
||||||
"saturation_steps": 17,
|
|
||||||
"brightness_steps": 17,
|
|
||||||
"animations": {
|
"animations": {
|
||||||
"alternating": true,
|
"alternating": true,
|
||||||
"breathing": true,
|
"breathing": true,
|
||||||
|
@ -31,8 +31,6 @@
|
|||||||
"rgblight": {
|
"rgblight": {
|
||||||
"led_count": 53,
|
"led_count": 53,
|
||||||
"hue_steps": 10,
|
"hue_steps": 10,
|
||||||
"saturation_steps": 17,
|
|
||||||
"brightness_steps": 17,
|
|
||||||
"animations": {
|
"animations": {
|
||||||
"alternating": true,
|
"alternating": true,
|
||||||
"breathing": true,
|
"breathing": true,
|
||||||
|
@ -47,7 +47,6 @@
|
|||||||
"twinkle": true
|
"twinkle": true
|
||||||
},
|
},
|
||||||
"brightness_steps": 8,
|
"brightness_steps": 8,
|
||||||
"hue_steps": 8,
|
|
||||||
"layers": {
|
"layers": {
|
||||||
"blink": false,
|
"blink": false,
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
|
@ -36,9 +36,6 @@
|
|||||||
},
|
},
|
||||||
"rgblight": {
|
"rgblight": {
|
||||||
"led_count": 6,
|
"led_count": 6,
|
||||||
"hue_steps": 8,
|
|
||||||
"saturation_steps": 17,
|
|
||||||
"brightness_steps": 17,
|
|
||||||
"max_brightness": 175,
|
"max_brightness": 175,
|
||||||
"animations": {
|
"animations": {
|
||||||
"alternating": true,
|
"alternating": true,
|
||||||
|
@ -39,9 +39,6 @@
|
|||||||
},
|
},
|
||||||
"rgblight": {
|
"rgblight": {
|
||||||
"led_count": 8,
|
"led_count": 8,
|
||||||
"hue_steps": 8,
|
|
||||||
"saturation_steps": 17,
|
|
||||||
"brightness_steps": 17,
|
|
||||||
"max_brightness": 200,
|
"max_brightness": 200,
|
||||||
"animations": {
|
"animations": {
|
||||||
"alternating": true,
|
"alternating": true,
|
||||||
|
@ -47,7 +47,6 @@
|
|||||||
"override_rgb": true
|
"override_rgb": true
|
||||||
},
|
},
|
||||||
"led_count": 14,
|
"led_count": 14,
|
||||||
"max_brightness": 255,
|
|
||||||
"sleep": true
|
"sleep": true
|
||||||
},
|
},
|
||||||
"url": "",
|
"url": "",
|
||||||
|
@ -38,7 +38,6 @@
|
|||||||
"hue": 213
|
"hue": 213
|
||||||
},
|
},
|
||||||
"brightness_steps": 8,
|
"brightness_steps": 8,
|
||||||
"hue_steps": 8,
|
|
||||||
"led_count": 8,
|
"led_count": 8,
|
||||||
"max_brightness": 150,
|
"max_brightness": 150,
|
||||||
"saturation_steps": 8,
|
"saturation_steps": 8,
|
||||||
|
@ -99,7 +99,6 @@
|
|||||||
"hue": 213
|
"hue": 213
|
||||||
},
|
},
|
||||||
"brightness_steps": 8,
|
"brightness_steps": 8,
|
||||||
"hue_steps": 8,
|
|
||||||
"led_count": 8,
|
"led_count": 8,
|
||||||
"max_brightness": 120,
|
"max_brightness": 120,
|
||||||
"saturation_steps": 8,
|
"saturation_steps": 8,
|
||||||
|
@ -41,10 +41,8 @@
|
|||||||
"static_gradient": true,
|
"static_gradient": true,
|
||||||
"twinkle": true
|
"twinkle": true
|
||||||
},
|
},
|
||||||
"hue_steps": 8,
|
|
||||||
"saturation_steps": 8,
|
"saturation_steps": 8,
|
||||||
"brightness_steps": 8,
|
"brightness_steps": 8
|
||||||
"max_brightness": 255
|
|
||||||
},
|
},
|
||||||
"split": {
|
"split": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
|
@ -160,7 +160,12 @@ bool process_caps_word(uint16_t keycode, keyrecord_t* record) {
|
|||||||
case QK_TOGGLE_LAYER ... QK_TOGGLE_LAYER_MAX:
|
case QK_TOGGLE_LAYER ... QK_TOGGLE_LAYER_MAX:
|
||||||
case QK_LAYER_TAP_TOGGLE ... QK_LAYER_TAP_TOGGLE_MAX:
|
case QK_LAYER_TAP_TOGGLE ... QK_LAYER_TAP_TOGGLE_MAX:
|
||||||
case QK_ONE_SHOT_LAYER ... QK_ONE_SHOT_LAYER_MAX:
|
case QK_ONE_SHOT_LAYER ... QK_ONE_SHOT_LAYER_MAX:
|
||||||
|
#ifdef TRI_LAYER_ENABLE // Ignore Tri Layer keys.
|
||||||
case QK_TRI_LAYER_LOWER ... QK_TRI_LAYER_UPPER:
|
case QK_TRI_LAYER_LOWER ... QK_TRI_LAYER_UPPER:
|
||||||
|
#endif // TRI_LAYER_ENABLE
|
||||||
|
#ifdef LAYER_LOCK_ENABLE // Ignore Layer Lock key.
|
||||||
|
case QK_LAYER_LOCK:
|
||||||
|
#endif // LAYER_LOCK_ENABLE
|
||||||
// Ignore AltGr.
|
// Ignore AltGr.
|
||||||
case KC_RALT:
|
case KC_RALT:
|
||||||
case OSM(MOD_RALT):
|
case OSM(MOD_RALT):
|
||||||
|
@ -42,6 +42,9 @@ static bool remember_last_key(uint16_t keycode, keyrecord_t* record, uint8_t* re
|
|||||||
case QK_TRI_LAYER_LOWER:
|
case QK_TRI_LAYER_LOWER:
|
||||||
case QK_TRI_LAYER_UPPER:
|
case QK_TRI_LAYER_UPPER:
|
||||||
#endif // TRI_LAYER_ENABLE
|
#endif // TRI_LAYER_ENABLE
|
||||||
|
#ifdef LAYER_LOCK_ENABLE // Ignore Layer Lock key.
|
||||||
|
case QK_LAYER_LOCK:
|
||||||
|
#endif // LAYER_LOCK_ENABLE
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// Ignore hold events on tap-hold keys.
|
// Ignore hold events on tap-hold keys.
|
||||||
|
@ -15,5 +15,7 @@
|
|||||||
|
|
||||||
CAPS_WORD_ENABLE = yes
|
CAPS_WORD_ENABLE = yes
|
||||||
COMMAND_ENABLE = no
|
COMMAND_ENABLE = no
|
||||||
|
LAYER_LOCK_ENABLE = yes
|
||||||
SPACE_CADET_ENABLE = yes
|
SPACE_CADET_ENABLE = yes
|
||||||
|
TRI_LAYER_ENABLE = yes
|
||||||
|
|
||||||
|
@ -156,21 +156,22 @@ TEST_F(CapsWord, IdleTimeout) {
|
|||||||
// Turn on Caps Word and tap "A".
|
// Turn on Caps Word and tap "A".
|
||||||
caps_word_on();
|
caps_word_on();
|
||||||
tap_key(key_a);
|
tap_key(key_a);
|
||||||
|
|
||||||
VERIFY_AND_CLEAR(driver);
|
VERIFY_AND_CLEAR(driver);
|
||||||
|
|
||||||
|
EXPECT_EMPTY_REPORT(driver);
|
||||||
idle_for(CAPS_WORD_IDLE_TIMEOUT);
|
idle_for(CAPS_WORD_IDLE_TIMEOUT);
|
||||||
run_one_scan_loop();
|
run_one_scan_loop();
|
||||||
|
VERIFY_AND_CLEAR(driver);
|
||||||
|
|
||||||
// Caps Word should be off and mods should be clear.
|
// Caps Word should be off and mods should be clear.
|
||||||
EXPECT_EQ(is_caps_word_on(), false);
|
EXPECT_EQ(is_caps_word_on(), false);
|
||||||
EXPECT_EQ(get_mods() | get_weak_mods(), 0);
|
EXPECT_EQ(get_mods() | get_weak_mods(), 0);
|
||||||
|
|
||||||
EXPECT_EMPTY_REPORT(driver).Times(AnyNumber());
|
|
||||||
// Expect unshifted "A".
|
// Expect unshifted "A".
|
||||||
EXPECT_REPORT(driver, (KC_A));
|
EXPECT_REPORT(driver, (KC_A));
|
||||||
|
EXPECT_EMPTY_REPORT(driver);
|
||||||
tap_key(key_a);
|
tap_key(key_a);
|
||||||
|
run_one_scan_loop();
|
||||||
VERIFY_AND_CLEAR(driver);
|
VERIFY_AND_CLEAR(driver);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -244,6 +245,7 @@ TEST_F(CapsWord, ShiftsAltGrSymbols) {
|
|||||||
// clang-format off
|
// clang-format off
|
||||||
EXPECT_CALL(driver, send_keyboard_mock(AnyOf(
|
EXPECT_CALL(driver, send_keyboard_mock(AnyOf(
|
||||||
KeyboardReport(),
|
KeyboardReport(),
|
||||||
|
KeyboardReport(KC_LSFT),
|
||||||
KeyboardReport(KC_RALT),
|
KeyboardReport(KC_RALT),
|
||||||
KeyboardReport(KC_LSFT, KC_RALT))))
|
KeyboardReport(KC_LSFT, KC_RALT))))
|
||||||
.Times(AnyNumber());
|
.Times(AnyNumber());
|
||||||
@ -259,6 +261,9 @@ TEST_F(CapsWord, ShiftsAltGrSymbols) {
|
|||||||
tap_key(key_a);
|
tap_key(key_a);
|
||||||
run_one_scan_loop();
|
run_one_scan_loop();
|
||||||
key_altgr.release();
|
key_altgr.release();
|
||||||
|
run_one_scan_loop();
|
||||||
|
|
||||||
|
idle_for(CAPS_WORD_IDLE_TIMEOUT);
|
||||||
|
|
||||||
VERIFY_AND_CLEAR(driver);
|
VERIFY_AND_CLEAR(driver);
|
||||||
}
|
}
|
||||||
@ -274,6 +279,7 @@ TEST_F(CapsWord, ShiftsModTapAltGrSymbols) {
|
|||||||
// clang-format off
|
// clang-format off
|
||||||
EXPECT_CALL(driver, send_keyboard_mock(AnyOf(
|
EXPECT_CALL(driver, send_keyboard_mock(AnyOf(
|
||||||
KeyboardReport(),
|
KeyboardReport(),
|
||||||
|
KeyboardReport(KC_LSFT),
|
||||||
KeyboardReport(KC_RALT),
|
KeyboardReport(KC_RALT),
|
||||||
KeyboardReport(KC_LSFT, KC_RALT))))
|
KeyboardReport(KC_LSFT, KC_RALT))))
|
||||||
.Times(AnyNumber());
|
.Times(AnyNumber());
|
||||||
@ -289,8 +295,11 @@ TEST_F(CapsWord, ShiftsModTapAltGrSymbols) {
|
|||||||
tap_key(key_a);
|
tap_key(key_a);
|
||||||
run_one_scan_loop();
|
run_one_scan_loop();
|
||||||
key_altgr_t.release();
|
key_altgr_t.release();
|
||||||
|
run_one_scan_loop();
|
||||||
EXPECT_TRUE(is_caps_word_on());
|
EXPECT_TRUE(is_caps_word_on());
|
||||||
|
|
||||||
|
idle_for(CAPS_WORD_IDLE_TIMEOUT);
|
||||||
|
|
||||||
VERIFY_AND_CLEAR(driver);
|
VERIFY_AND_CLEAR(driver);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -535,7 +544,11 @@ TEST_P(CapsWordDoubleTapShift, Activation) {
|
|||||||
// machine at this point. This due to imperfect test isolation which can't
|
// machine at this point. This due to imperfect test isolation which can't
|
||||||
// reset the caps word double shift timer on test case setup.
|
// reset the caps word double shift timer on test case setup.
|
||||||
idle_for(CAPS_WORD_IDLE_TIMEOUT);
|
idle_for(CAPS_WORD_IDLE_TIMEOUT);
|
||||||
|
|
||||||
|
EXPECT_REPORT(driver, (KC_ESC));
|
||||||
|
EXPECT_EMPTY_REPORT(driver);
|
||||||
tap_key(esc);
|
tap_key(esc);
|
||||||
|
VERIFY_AND_CLEAR(driver);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Double tap doesn't count if another key is pressed between the taps.
|
// Double tap doesn't count if another key is pressed between the taps.
|
||||||
@ -589,6 +602,7 @@ TEST_P(CapsWordDoubleTapShift, SlowTaps) {
|
|||||||
|
|
||||||
EXPECT_EQ(is_caps_word_on(), false); // Caps Word is still off.
|
EXPECT_EQ(is_caps_word_on(), false); // Caps Word is still off.
|
||||||
clear_oneshot_mods();
|
clear_oneshot_mods();
|
||||||
|
send_keyboard_report();
|
||||||
|
|
||||||
VERIFY_AND_CLEAR(driver);
|
VERIFY_AND_CLEAR(driver);
|
||||||
}
|
}
|
||||||
@ -626,7 +640,7 @@ TEST_F(CapsWord, IgnoresOSLHold) {
|
|||||||
run_one_scan_loop();
|
run_one_scan_loop();
|
||||||
tap_key(key_b);
|
tap_key(key_b);
|
||||||
key_osl.release();
|
key_osl.release();
|
||||||
run_one_scan_loop();
|
idle_for(CAPS_WORD_IDLE_TIMEOUT + 1);
|
||||||
|
|
||||||
VERIFY_AND_CLEAR(driver);
|
VERIFY_AND_CLEAR(driver);
|
||||||
}
|
}
|
||||||
@ -645,15 +659,39 @@ TEST_F(CapsWord, IgnoresOSLTap) {
|
|||||||
KeyboardReport(),
|
KeyboardReport(),
|
||||||
KeyboardReport(KC_LSFT))))
|
KeyboardReport(KC_LSFT))))
|
||||||
.Times(AnyNumber());
|
.Times(AnyNumber());
|
||||||
|
// clang-format on
|
||||||
|
|
||||||
EXPECT_REPORT(driver, (KC_LSFT, KC_B));
|
EXPECT_REPORT(driver, (KC_LSFT, KC_B));
|
||||||
caps_word_on();
|
caps_word_on();
|
||||||
|
|
||||||
tap_key(key_osl);
|
tap_key(key_osl);
|
||||||
tap_key(key_b);
|
tap_key(key_b);
|
||||||
run_one_scan_loop();
|
idle_for(CAPS_WORD_IDLE_TIMEOUT);
|
||||||
|
|
||||||
|
VERIFY_AND_CLEAR(driver);
|
||||||
|
}
|
||||||
|
|
||||||
|
TEST_F(CapsWord, IgnoresLayerLockKey) {
|
||||||
|
TestDriver driver;
|
||||||
|
KeymapKey key_llock(0, 1, 0, QK_LAYER_LOCK);
|
||||||
|
KeymapKey key_b(0, 0, 0, KC_B);
|
||||||
|
set_keymap({key_llock, key_b});
|
||||||
|
|
||||||
|
// Allow any number of reports with no keys or only modifiers.
|
||||||
|
// clang-format off
|
||||||
|
EXPECT_CALL(driver, send_keyboard_mock(AnyOf(
|
||||||
|
KeyboardReport(),
|
||||||
|
KeyboardReport(KC_LSFT))))
|
||||||
|
.Times(AnyNumber());
|
||||||
|
// clang-format on
|
||||||
|
|
||||||
|
EXPECT_REPORT(driver, (KC_LSFT, KC_B));
|
||||||
|
caps_word_on();
|
||||||
|
|
||||||
|
tap_key(key_llock);
|
||||||
|
tap_key(key_b);
|
||||||
|
idle_for(CAPS_WORD_IDLE_TIMEOUT);
|
||||||
|
|
||||||
VERIFY_AND_CLEAR(driver);
|
VERIFY_AND_CLEAR(driver);
|
||||||
}
|
}
|
||||||
// clang-format on
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
@ -16,3 +16,4 @@
|
|||||||
REPEAT_KEY_ENABLE = yes
|
REPEAT_KEY_ENABLE = yes
|
||||||
|
|
||||||
AUTO_SHIFT_ENABLE = yes
|
AUTO_SHIFT_ENABLE = yes
|
||||||
|
LAYER_LOCK_ENABLE = yes
|
||||||
|
@ -751,4 +751,37 @@ TEST_F(RepeatKey, RepeatKeyInvoke) {
|
|||||||
testing::Mock::VerifyAndClearExpectations(&driver);
|
testing::Mock::VerifyAndClearExpectations(&driver);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check that mods and Layer Lock are not remembered.
|
||||||
|
TEST_F(RepeatKey, IgnoredKeys) {
|
||||||
|
TestDriver driver;
|
||||||
|
KeymapKey regular_key(0, 0, 0, KC_A);
|
||||||
|
KeymapKey key_repeat(0, 1, 0, QK_REP);
|
||||||
|
KeymapKey key_lsft(0, 2, 0, KC_LSFT);
|
||||||
|
KeymapKey key_lctl(0, 3, 0, KC_LCTL);
|
||||||
|
KeymapKey key_llck(0, 4, 0, QK_LAYER_LOCK);
|
||||||
|
set_keymap({regular_key, key_repeat, key_lsft, key_lctl, key_llck});
|
||||||
|
|
||||||
|
// Allow any number of empty reports.
|
||||||
|
EXPECT_EMPTY_REPORT(driver).Times(AnyNumber());
|
||||||
|
{
|
||||||
|
InSequence seq;
|
||||||
|
EXPECT_REPORT(driver, (KC_A));
|
||||||
|
EXPECT_REPORT(driver, (KC_LSFT));
|
||||||
|
EXPECT_REPORT(driver, (KC_LCTL));
|
||||||
|
EXPECT_REPORT(driver, (KC_A));
|
||||||
|
EXPECT_REPORT(driver, (KC_A));
|
||||||
|
}
|
||||||
|
|
||||||
|
tap_key(regular_key); // Taps the KC_A key.
|
||||||
|
|
||||||
|
// Tap Shift, Ctrl, and Layer Lock keys, which should not be remembered.
|
||||||
|
tap_keys(key_lsft, key_lctl, key_llck);
|
||||||
|
EXPECT_KEYCODE_EQ(get_last_keycode(), KC_A);
|
||||||
|
|
||||||
|
// Tapping the Repeat Key should still reproduce KC_A.
|
||||||
|
tap_keys(key_repeat, key_repeat);
|
||||||
|
|
||||||
|
testing::Mock::VerifyAndClearExpectations(&driver);
|
||||||
|
}
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
Loading…
Reference in New Issue
Block a user