summaryrefslogtreecommitdiff
path: root/keyboards/naked48/rev1/config.h
diff options
context:
space:
mode:
authorSalicylic-acid3 <46864619+Salicylic-acid3@users.noreply.github.com>2019-10-24 02:18:59 +0900
committernoroadsleft <18669334+noroadsleft@users.noreply.github.com>2019-10-23 10:18:59 -0700
commit68cf2725aa30eaa18db9c6149e5e361860db01d7 (patch)
treedb2d56405aef72473ff7d15117d2dfdefdb1ec3b /keyboards/naked48/rev1/config.h
parent6d95082cbf11728bbd035d533ef3efebcf29f933 (diff)
[Keyboard] Naked48/60 Configurator bugfix (#7131)
Support for QMK configurator of keyboard Naked48 / 60. Related: Pull request to configurator [Keyboard] Add keyboard Naked48 / 60 # 549
Diffstat (limited to 'keyboards/naked48/rev1/config.h')
-rw-r--r--keyboards/naked48/rev1/config.h18
1 files changed, 5 insertions, 13 deletions
diff --git a/keyboards/naked48/rev1/config.h b/keyboards/naked48/rev1/config.h
index 9afa87511b..0d0390366f 100644
--- a/keyboards/naked48/rev1/config.h
+++ b/keyboards/naked48/rev1/config.h
@@ -52,6 +52,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* ws2812 RGB LED */
#define RGB_DI_PIN D3
+
+#ifndef RGBLED_NUM
+ #define RGBLED_NUM 48
+#endif
+
#define RGBLIGHT_ANIMATIONS
#ifndef IOS_DEVICE_ENABLE
@@ -64,19 +69,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17
-// Selection of RGBLIGHT MODE to use.
-#if defined(LED_ANIMATIONS)
- //#define RGBLIGHT_EFFECT_BREATHING
- #define RGBLIGHT_EFFECT_RAINBOW_MOOD
- #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
- //#define RGBLIGHT_EFFECT_SNAKE
- #define RGBLIGHT_EFFECT_KNIGHT
- //#define RGBLIGHT_EFFECT_CHRISTMAS
- #define RGBLIGHT_EFFECT_STATIC_GRADIENT
- //#define RGBLIGHT_EFFECT_RGB_TEST
- //#define RGBLIGHT_EFFECT_ALTERNATING
-#endif
-
#if defined(RGBLIGHT_ENABLE) && !defined(IOS_DEVICE_ENABLE)
// USB_MAX_POWER_CONSUMPTION value for naked48 keyboard
// 120 RGBoff, OLEDoff