Keymap: Fixed my ortho_5x12 layout (#3881)
authorXyverz <xyverz@gmail.com>
Tue, 11 Sep 2018 21:22:18 +0000 (14:22 -0700)
committerDrashna Jaelre <drashna@live.com>
Tue, 11 Sep 2018 21:22:18 +0000 (14:22 -0700)
* 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

layouts/community/ortho_5x12/xyverz/config.h

index 0481aa814223304955f85a898ef420d74420a796..4489c6e5f54514e414584dc8def5fea52bd639f8 100644 (file)
@@ -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