summaryrefslogtreecommitdiff
path: root/layouts/community/ortho_5x12/xyverz
diff options
context:
space:
mode:
authorXyverz <xyverz@gmail.com>2018-09-11 14:22:18 -0700
committerDrashna Jaelre <drashna@live.com>2018-09-11 14:22:18 -0700
commit7551e0bbc705c9b67b27a080db2bb483c3ac22e8 (patch)
tree3aa4b76e3e28439b3dbdc97ad85bb00c1966c93a /layouts/community/ortho_5x12/xyverz
parent32ff7be266793967b820da80ae6f3fca0a1688b4 (diff)
Keymap: Fixed my ortho_5x12 layout (#3881)
* Fixed my ortho_5x12 layout I've fixed the config.h file for my 5x12 ortho layout so that I can now use it with my Nyquist. * Update config.h * Update config.h
Diffstat (limited to 'layouts/community/ortho_5x12/xyverz')
-rw-r--r--layouts/community/ortho_5x12/xyverz/config.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/layouts/community/ortho_5x12/xyverz/config.h b/layouts/community/ortho_5x12/xyverz/config.h
index 0481aa8142..4489c6e5f5 100644
--- a/layouts/community/ortho_5x12/xyverz/config.h
+++ b/layouts/community/ortho_5x12/xyverz/config.h
@@ -7,16 +7,18 @@
/* ws2812 RGB LED */
#undef RGB_DI_PIN
-#define RGB_DI_PIN B3
-#undef RGBLED_NUM
-#define RGBLIGHT_ANIMATIONS
-#define RGBLED_NUM 11 // Number of LEDs
-#undef RGBLIGHT_HUE_STEP
-#define RGBLIGHT_HUE_STEP 8
-#undef RGBLIGHT_SAT_STEP
-#define RGBLIGHT_SAT_STEP 8
-#undef RGBLIGHT_VAL_STEP
-#define RGBLIGHT_VAL_STEP 8
+#if defined(KEYBOARD_preonic_rev2)
+ #define RGB_DI_PIN B3
+ #undef RGBLED_NUM
+ #define RGBLIGHT_ANIMATIONS
+ #define RGBLED_NUM 11 // Number of LEDs
+ #undef RGBLIGHT_HUE_STEP
+ #define RGBLIGHT_HUE_STEP 8
+ #undef RGBLIGHT_SAT_STEP
+ #define RGBLIGHT_SAT_STEP 8
+ #undef RGBLIGHT_VAL_STEP
+ #define RGBLIGHT_VAL_STEP 8
+#endif
// for the split boards //
#define USE_SERIAL