aboutsummaryrefslogtreecommitdiff
path: root/keyboards/om60
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/om60
parent6545eb64a0cc1797893c6782e78a3ecc68de729d (diff)
downloadqmk_firmware-4ae9bfd17ab01608e1bf2492c35d79bd2ad5c0fe.tar.gz
qmk_firmware-4ae9bfd17ab01608e1bf2492c35d79bd2ad5c0fe.zip
Move `RGBLIGHT_HUE/SAT/VAL_STEP` to data driven (#21292)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/om60')
-rw-r--r--keyboards/om60/config.h2
-rw-r--r--keyboards/om60/info.json1
2 files changed, 1 insertions, 2 deletions
diff --git a/keyboards/om60/config.h b/keyboards/om60/config.h
index 533a851c43..fce35f33bc 100644
--- a/keyboards/om60/config.h
+++ b/keyboards/om60/config.h
@@ -52,8 +52,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_LIMIT_VAL 30
#define RGBLIGHT_VAL_STEP 4
#endif
-#define RGBLIGHT_HUE_STEP 10
-#define RGBLIGHT_SAT_STEP 17
#if defined(RGBLIGHT_ENABLE) && !defined(IOS_DEVICE_ENABLE)
// USB_MAX_POWER_CONSUMPTION value for naked48 keyboard
diff --git a/keyboards/om60/info.json b/keyboards/om60/info.json
index 7192e8b62f..7b1eb21b7c 100644
--- a/keyboards/om60/info.json
+++ b/keyboards/om60/info.json
@@ -14,6 +14,7 @@
]
},
"rgblight": {
+ "hue_steps": 10,
"led_count": 69,
"sleep": true,
"led_map": [0, 1, 2, 3, 8, 7, 6, 5, 4, 9, 10, 11, 12, 13, 18, 17, 16, 15, 14, 19, 20, 21, 22, 23, 28, 27, 26, 25, 24, 29, 30, 31, 32, 33, 38, 37, 36, 35, 34, 39, 40, 41, 42, 43, 48, 47, 46, 45, 44, 49, 50, 51, 52, 53, 58, 57, 56, 55, 54, 59, 60, 61, 62, 63, 68, 67, 66, 65, 64]