summaryrefslogtreecommitdiff
path: root/keyboards/elephant42
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/elephant42')
-rw-r--r--keyboards/elephant42/config.h3
-rw-r--r--keyboards/elephant42/info.json3
2 files changed, 4 insertions, 2 deletions
diff --git a/keyboards/elephant42/config.h b/keyboards/elephant42/config.h
index a4d471f2c5..dc1f568fc4 100644
--- a/keyboards/elephant42/config.h
+++ b/keyboards/elephant42/config.h
@@ -22,7 +22,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 8
-# define RGBLIGHT_LIMIT_VAL 170 /* The maximum brightness level */
# define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
@@ -38,7 +37,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define SPLIT_TRANSPORT_MIRROR
# define RGB_MATRIX_LED_COUNT RGBLED_NUM
# define RGB_MATRIX_SPLIT RGBLED_SPLIT
-# define RGB_MATRIX_MAXIMUM_BRIGHTNESS RGBLIGHT_LIMIT_VAL
+# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 170
# define RGB_MATRIX_HUE_STEP RGBLIGHT_HUE_STEP
# define RGB_MATRIX_SAT_STEP RGBLIGHT_SAT_STEP
# define RGB_MATRIX_VAL_STEP RGBLIGHT_VAL_STEP
diff --git a/keyboards/elephant42/info.json b/keyboards/elephant42/info.json
index 8bbaf67179..8c44408055 100644
--- a/keyboards/elephant42/info.json
+++ b/keyboards/elephant42/info.json
@@ -11,6 +11,9 @@
"rgb_matrix": {
"driver": "WS2812"
},
+ "rgblight": {
+ "max_brightness": 170
+ },
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "B1", "B3"],
"rows": ["D4", "C6", "D7", "E6"]