diff options
author | Joel Challis <git@zvecr.com> | 2024-02-01 18:10:14 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-01 18:10:14 +0000 |
commit | 2f37a7854ddb0055eff7cb605492a57ff5061eb2 (patch) | |
tree | 95a990fb8cb1ec8b47c8760708d7541fa042f4ba /keyboards/qvex/lynepad2 | |
parent | 7d5b4adc502df7cd9e20ba96027fbfe728171b2e (diff) |
Migrate lighting defaults to info.json (#22920)
Diffstat (limited to 'keyboards/qvex/lynepad2')
-rw-r--r-- | keyboards/qvex/lynepad2/config.h | 6 | ||||
-rw-r--r-- | keyboards/qvex/lynepad2/info.json | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/keyboards/qvex/lynepad2/config.h b/keyboards/qvex/lynepad2/config.h index 9e1f70b38b..c6fad65c97 100644 --- a/keyboards/qvex/lynepad2/config.h +++ b/keyboards/qvex/lynepad2/config.h @@ -25,9 +25,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. //Thumbwheel #define PIN_TC D2 - -//Backlighting -#define BACKLIGHT_DEFAULT_LEVEL 5 - -//RGB arc -#define RGBLIGHT_DEFAULT_VAL 64
\ No newline at end of file diff --git a/keyboards/qvex/lynepad2/info.json b/keyboards/qvex/lynepad2/info.json index 7919c2adc2..3107640792 100644 --- a/keyboards/qvex/lynepad2/info.json +++ b/keyboards/qvex/lynepad2/info.json @@ -35,7 +35,10 @@ "rgblight": { "led_count": 5, "max_brightness": 192, - "sleep": true + "sleep": true, + "default": { + "val": 64 + } }, "ws2812": { "pin": "D3" @@ -44,7 +47,10 @@ "breathing": true, "levels": 8, "max_brightness": 192, - "pin": "B7" + "pin": "B7", + "default": { + "brightness": 5 + } }, "layouts": { "LAYOUT": { |