summaryrefslogtreecommitdiff
path: root/keyboards/takashicompany/compacx
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/takashicompany/compacx')
-rw-r--r--keyboards/takashicompany/compacx/config.h6
-rw-r--r--keyboards/takashicompany/compacx/info.json7
2 files changed, 7 insertions, 6 deletions
diff --git a/keyboards/takashicompany/compacx/config.h b/keyboards/takashicompany/compacx/config.h
index 07287712f3..9d9d494c84 100644
--- a/keyboards/takashicompany/compacx/config.h
+++ b/keyboards/takashicompany/compacx/config.h
@@ -17,12 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-# define RGBLED_NUM 12
-# define RGBLED_SPLIT {6, 6}
-# define RGBLIGHT_HUE_STEP 8
-# define RGBLIGHT_SAT_STEP 8
-# define RGBLIGHT_VAL_STEP 8
-# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/takashicompany/compacx/info.json b/keyboards/takashicompany/compacx/info.json
index 2e7ef2f7a6..0446ac24bb 100644
--- a/keyboards/takashicompany/compacx/info.json
+++ b/keyboards/takashicompany/compacx/info.json
@@ -8,6 +8,13 @@
"pid": "0x0014",
"device_version": "0.0.1"
},
+ "rgblight": {
+ "saturation_steps": 8,
+ "brightness_steps": 8,
+ "led_count": 12,
+ "sleep": true,
+ "split_count": [6, 6]
+ },
"ws2812": {
"pin": "D3"
},