summaryrefslogtreecommitdiff
path: root/keyboards/owlab
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-05-27 12:27:44 +1000
committerGitHub <noreply@github.com>2023-05-27 12:27:44 +1000
commit363bfdbfda5ea9fa996390920a9e8982535b76c8 (patch)
tree65684518b21240b47f7a64d8f0462e246ede70cc /keyboards/owlab
parent8fdcba12e684e7b1f0934fc9dc622e8e51f1deb9 (diff)
Move `RGBLIGHT_LIMIT_VAL` to data driven (#20974)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/owlab')
-rw-r--r--keyboards/owlab/jelly_epoch/hotswap/config.h1
-rw-r--r--keyboards/owlab/jelly_epoch/soldered/config.h1
-rw-r--r--keyboards/owlab/spring/config.h3
-rw-r--r--keyboards/owlab/voice65/hotswap/config.h1
-rw-r--r--keyboards/owlab/voice65/hotswap/info.json3
-rw-r--r--keyboards/owlab/voice65/soldered/config.h1
-rw-r--r--keyboards/owlab/voice65/soldered/info.json3
7 files changed, 7 insertions, 6 deletions
diff --git a/keyboards/owlab/jelly_epoch/hotswap/config.h b/keyboards/owlab/jelly_epoch/hotswap/config.h
index d37e70df34..b40244be73 100644
--- a/keyboards/owlab/jelly_epoch/hotswap/config.h
+++ b/keyboards/owlab/jelly_epoch/hotswap/config.h
@@ -31,4 +31,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 8
# define RGBLIGHT_VAL_STEP 10
-# define RGBLIGHT_LIMIT_VAL 255
diff --git a/keyboards/owlab/jelly_epoch/soldered/config.h b/keyboards/owlab/jelly_epoch/soldered/config.h
index d37e70df34..b40244be73 100644
--- a/keyboards/owlab/jelly_epoch/soldered/config.h
+++ b/keyboards/owlab/jelly_epoch/soldered/config.h
@@ -31,4 +31,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 8
# define RGBLIGHT_VAL_STEP 10
-# define RGBLIGHT_LIMIT_VAL 255
diff --git a/keyboards/owlab/spring/config.h b/keyboards/owlab/spring/config.h
index 8da939a2af..15d1e18d0b 100644
--- a/keyboards/owlab/spring/config.h
+++ b/keyboards/owlab/spring/config.h
@@ -32,6 +32,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 8
# define RGBLIGHT_VAL_STEP 10
-# define RGBLIGHT_LIMIT_VAL 255
# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL
-# define RGBLIGHT_DEFAULT_VAL RGBLIGHT_LIMIT_VAL/2
+# define RGBLIGHT_DEFAULT_VAL 127
diff --git a/keyboards/owlab/voice65/hotswap/config.h b/keyboards/owlab/voice65/hotswap/config.h
index 884f456044..17222658f3 100644
--- a/keyboards/owlab/voice65/hotswap/config.h
+++ b/keyboards/owlab/voice65/hotswap/config.h
@@ -31,7 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 8
# define RGBLIGHT_VAL_STEP 10
-# define RGBLIGHT_LIMIT_VAL 180
# define OWL_VOLUME_RANGE 50
/* RGB matrix */
diff --git a/keyboards/owlab/voice65/hotswap/info.json b/keyboards/owlab/voice65/hotswap/info.json
index 5e977da5e9..6b6474ab68 100644
--- a/keyboards/owlab/voice65/hotswap/info.json
+++ b/keyboards/owlab/voice65/hotswap/info.json
@@ -25,6 +25,9 @@
"ws2812": {
"pin": "B15"
},
+ "rgblight": {
+ "max_brightness": 180
+ },
"processor": "STM32F303",
"bootloader": "stm32-dfu",
"layout_aliases": {
diff --git a/keyboards/owlab/voice65/soldered/config.h b/keyboards/owlab/voice65/soldered/config.h
index 1eec867f2f..6f41edccd0 100644
--- a/keyboards/owlab/voice65/soldered/config.h
+++ b/keyboards/owlab/voice65/soldered/config.h
@@ -31,7 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 8
# define RGBLIGHT_VAL_STEP 10
-# define RGBLIGHT_LIMIT_VAL 180
# define OWL_VOLUME_RANGE 50
/* RGB matrix*/
diff --git a/keyboards/owlab/voice65/soldered/info.json b/keyboards/owlab/voice65/soldered/info.json
index 9061a28e82..3b38b45da4 100644
--- a/keyboards/owlab/voice65/soldered/info.json
+++ b/keyboards/owlab/voice65/soldered/info.json
@@ -25,6 +25,9 @@
"ws2812": {
"pin": "B15"
},
+ "rgblight": {
+ "max_brightness": 180
+ },
"processor": "STM32F303",
"bootloader": "stm32-dfu",
"community_layouts": ["65_ansi_blocker", "65_ansi_blocker_split_bs", "65_ansi_blocker_tsangan", "65_iso_blocker", "65_iso_blocker_split_bs"],