diff options
author | Joel Challis <[email protected]> | 2024-02-01 18:10:14 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-02-01 18:10:14 +0000 |
commit | 2f37a7854ddb0055eff7cb605492a57ff5061eb2 (patch) | |
tree | 95a990fb8cb1ec8b47c8760708d7541fa042f4ba /keyboards/smithrune/iron160 | |
parent | 7d5b4adc502df7cd9e20ba96027fbfe728171b2e (diff) | |
download | qmk_firmware-2f37a7854ddb0055eff7cb605492a57ff5061eb2.tar.gz qmk_firmware-2f37a7854ddb0055eff7cb605492a57ff5061eb2.zip |
Migrate lighting defaults to info.json (#22920)
Diffstat (limited to 'keyboards/smithrune/iron160')
-rw-r--r-- | keyboards/smithrune/iron160/iron160_h/config.h | 18 | ||||
-rw-r--r-- | keyboards/smithrune/iron160/iron160_h/info.json | 9 |
2 files changed, 6 insertions, 21 deletions
diff --git a/keyboards/smithrune/iron160/iron160_h/config.h b/keyboards/smithrune/iron160/iron160_h/config.h deleted file mode 100644 index 4edf24a4d9..0000000000 --- a/keyboards/smithrune/iron160/iron160_h/config.h +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright 2022 Gondolindrim -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 - -/* Defining RGB default brightness to zero */ -#define RGBLIGHT_DEFAULT_VAL 0 diff --git a/keyboards/smithrune/iron160/iron160_h/info.json b/keyboards/smithrune/iron160/iron160_h/info.json index ae65246d26..3fb14989d6 100644 --- a/keyboards/smithrune/iron160/iron160_h/info.json +++ b/keyboards/smithrune/iron160/iron160_h/info.json @@ -17,9 +17,12 @@ "ws2812": { "pin": "B15" }, - "rgblight": { - "led_count": 1 - }, + "rgblight": { + "led_count": 1, + "default": { + "val": 50 + } + }, "diode_direction": "COL2ROW", "layout_aliases": { "LAYOUT": "LAYOUT_60_tsangan_hhkb" |