summaryrefslogtreecommitdiff
path: root/keyboards/handwired
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-02-01 18:10:14 +0000
committerGitHub <noreply@github.com>2024-02-01 18:10:14 +0000
commit2f37a7854ddb0055eff7cb605492a57ff5061eb2 (patch)
tree95a990fb8cb1ec8b47c8760708d7541fa042f4ba /keyboards/handwired
parent7d5b4adc502df7cd9e20ba96027fbfe728171b2e (diff)
Migrate lighting defaults to info.json (#22920)
Diffstat (limited to 'keyboards/handwired')
-rw-r--r--keyboards/handwired/uthol/rev2/config.h21
-rw-r--r--keyboards/handwired/uthol/rev2/info.json5
-rw-r--r--keyboards/handwired/uthol/rev3/config.h2
-rw-r--r--keyboards/handwired/uthol/rev3/info.json3
4 files changed, 7 insertions, 24 deletions
diff --git a/keyboards/handwired/uthol/rev2/config.h b/keyboards/handwired/uthol/rev2/config.h
deleted file mode 100644
index f4c4fda7cf..0000000000
--- a/keyboards/handwired/uthol/rev2/config.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Copyright 2022 Uthol
- *
- * 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
-
-//RGB Stuff
-#define RGBLIGHT_DEFAULT_HUE 201
diff --git a/keyboards/handwired/uthol/rev2/info.json b/keyboards/handwired/uthol/rev2/info.json
index 89515a8fef..9185e97c43 100644
--- a/keyboards/handwired/uthol/rev2/info.json
+++ b/keyboards/handwired/uthol/rev2/info.json
@@ -4,7 +4,10 @@
"device_version": "0.0.2"
},
"rgblight": {
- "led_count": 39
+ "led_count": 39,
+ "default": {
+ "hue": 201
+ }
},
"ws2812": {
"pin": "E6"
diff --git a/keyboards/handwired/uthol/rev3/config.h b/keyboards/handwired/uthol/rev3/config.h
index a3a2eb1ca0..569a38c699 100644
--- a/keyboards/handwired/uthol/rev3/config.h
+++ b/keyboards/handwired/uthol/rev3/config.h
@@ -32,5 +32,3 @@
#define LOCKING_RESYNC_ENABLE
#define PERMISSIVE_HOLD
-
-#define RGBLIGHT_DEFAULT_HUE 201
diff --git a/keyboards/handwired/uthol/rev3/info.json b/keyboards/handwired/uthol/rev3/info.json
index 79818d4670..dbbce9139d 100644
--- a/keyboards/handwired/uthol/rev3/info.json
+++ b/keyboards/handwired/uthol/rev3/info.json
@@ -16,6 +16,9 @@
"rgb_test": true,
"alternating": true,
"twinkle": true
+ },
+ "default": {
+ "hue": 201
}
},
"tapping": {