summaryrefslogtreecommitdiff
path: root/keyboards/sofle
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/sofle
parent6545eb64a0cc1797893c6782e78a3ecc68de729d (diff)
Move `RGBLIGHT_HUE/SAT/VAL_STEP` to data driven (#21292)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/sofle')
-rwxr-xr-xkeyboards/sofle/keyhive/config.h9
-rw-r--r--keyboards/sofle/keyhive/info.json1
2 files changed, 1 insertions, 9 deletions
diff --git a/keyboards/sofle/keyhive/config.h b/keyboards/sofle/keyhive/config.h
index 9f82ce80ec..63450e2536 100755
--- a/keyboards/sofle/keyhive/config.h
+++ b/keyboards/sofle/keyhive/config.h
@@ -27,12 +27,3 @@
27#define SPLIT_WPM_ENABLE 27#define SPLIT_WPM_ENABLE
28#define SPLIT_OLED_ENABLE 28#define SPLIT_OLED_ENABLE
29#define SPLIT_TRANSPORT_MIRROR 29#define SPLIT_TRANSPORT_MIRROR
30
31// Add RGB underglow
32// by defining in the keyboard, incompatible keymaps will fail to compile.
33#ifdef RGBLIGHT_ENABLE
34# define RGBLIGHT_HUE_STEP 10
35# define RGBLIGHT_SAT_STEP 17
36# define RGBLIGHT_VAL_STEP 17
37//# define RGBLIGHT_LAYERS //Enable layer light indicators. Not required as updates are done in layer_state_set_user and led_update_user (+588).
38#endif
diff --git a/keyboards/sofle/keyhive/info.json b/keyboards/sofle/keyhive/info.json
index 7807a546c3..d4718d3a8b 100644
--- a/keyboards/sofle/keyhive/info.json
+++ b/keyboards/sofle/keyhive/info.json
@@ -10,6 +10,7 @@
10 "pin": "D3" 10 "pin": "D3"
11 }, 11 },
12 "rgblight": { 12 "rgblight": {
13 "hue_steps": 10,
13 "led_count": 74, 14 "led_count": 74,
14 "max_brightness": 100, 15 "max_brightness": 100,
15 "led_map": [28, 16, 4, 1, 13, 25, 10, 36, 35, 34, 33, 32, 31, 30, 29, 27, 26, 24, 23, 22, 21, 20, 19, 18, 17, 15, 14, 12, 11, 9, 8, 7, 6, 5, 3, 2, 0, 45, 57, 69, 72, 60, 48, 63, 37, 38, 39, 40, 41, 42, 43, 44, 46, 47, 49, 50, 51, 52, 53, 54, 55, 56, 58, 59, 61, 62, 64, 65, 66, 67, 68, 70, 71, 73], 16 "led_map": [28, 16, 4, 1, 13, 25, 10, 36, 35, 34, 33, 32, 31, 30, 29, 27, 26, 24, 23, 22, 21, 20, 19, 18, 17, 15, 14, 12, 11, 9, 8, 7, 6, 5, 3, 2, 0, 45, 57, 69, 72, 60, 48, 63, 37, 38, 39, 40, 41, 42, 43, 44, 46, 47, 49, 50, 51, 52, 53, 54, 55, 56, 58, 59, 61, 62, 64, 65, 66, 67, 68, 70, 71, 73],