summaryrefslogtreecommitdiff
path: root/keyboards/lz/erghost
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/lz/erghost')
-rw-r--r--keyboards/lz/erghost/config.h2
-rw-r--r--keyboards/lz/erghost/info.json4
2 files changed, 4 insertions, 2 deletions
diff --git a/keyboards/lz/erghost/config.h b/keyboards/lz/erghost/config.h
index 4f298a1af8..efcc4caded 100644
--- a/keyboards/lz/erghost/config.h
+++ b/keyboards/lz/erghost/config.h
@@ -38,11 +38,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION ROW2COL
#ifdef RGBLIGHT_ENABLE
-#define RGBLED_NUM 28
#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_STATIC_LIGHT
# define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
diff --git a/keyboards/lz/erghost/info.json b/keyboards/lz/erghost/info.json
index d7e266d134..fe69ea3e53 100644
--- a/keyboards/lz/erghost/info.json
+++ b/keyboards/lz/erghost/info.json
@@ -12,6 +12,10 @@
"pin": "B6",
"breathing": true
},
+ "rgblight": {
+ "led_count": 28,
+ "sleep": true
+ },
"ws2812": {
"pin": "E2"
},