summaryrefslogtreecommitdiff
path: root/keyboards/unison
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-06-24 17:37:54 +1000
committerGitHub <noreply@github.com>2023-06-24 17:37:54 +1000
commit4ae9bfd17ab01608e1bf2492c35d79bd2ad5c0fe (patch)
treecf48a8728411d2ad4a00422edad87a26288a95ec /keyboards/unison
parent6545eb64a0cc1797893c6782e78a3ecc68de729d (diff)
Move `RGBLIGHT_HUE/SAT/VAL_STEP` to data driven (#21292)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/unison')
-rw-r--r--keyboards/unison/v04/config.h3
-rw-r--r--keyboards/unison/v04/info.json3
2 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/unison/v04/config.h b/keyboards/unison/v04/config.h
index fe28e7fc00..93e7e6a90c 100644
--- a/keyboards/unison/v04/config.h
+++ b/keyboards/unison/v04/config.h
@@ -26,9 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#endif
/* RGB Lighting */
- #define RGBLIGHT_HUE_STEP 4
- #define RGBLIGHT_SAT_STEP 8
- #define RGBLIGHT_VAL_STEP 8
/*== Lighting Layers ==*/
#define RGBLIGHT_LAYERS
// #define RGBLIGHT_MAX_LAYERS 2
diff --git a/keyboards/unison/v04/info.json b/keyboards/unison/v04/info.json
index b9754062af..291c10f37b 100644
--- a/keyboards/unison/v04/info.json
+++ b/keyboards/unison/v04/info.json
@@ -13,6 +13,9 @@
"rows": ["B3", "E6", "F1", "F5", "F7", "B2", "F0", "F4", "F6", "C7"]
},
"rgblight": {
+ "hue_steps": 4,
+ "saturation_steps": 8,
+ "brightness_steps": 8,
"led_count": 7,
"led_map": [1, 2, 0, 3, 4, 5, 6]
},