summaryrefslogtreecommitdiff
path: root/layouts/community/ortho_5x12/drashna/config.h
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2018-12-31 14:29:56 -0800
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2018-12-31 14:29:56 -0800
commit40383089d035f69101851831f756508271fff103 (patch)
treecbdfaf00ad2c28825887d9370feedc4e1831f6ea /layouts/community/ortho_5x12/drashna/config.h
parent7f0def77a201bd419517332581dbc2cc3b0bd7eb (diff)
Keymap: Update for Drashna code - Proton C Prep Edition (#4708)
* Make CRKBD keylogger output actually show tap keys * check MT/LT for twinkling * Add ortho 5x12 support for fractal keyboard * Use newer interface for setting pins/ports * Remove custom unicode methods * Reomve unicode input info * Odd rules issue * Redefine REST note to be more pleasing * Properly disable PM LEDs with GPIO commands * Update gitlab CI yaml file * Remove extra mod tap check * Remove initial state on ergodox glow * Rev6 Cleanup * Fix KC_MAKE macro * Update GitLab CI yaml file * More GitLab CI changes * One final GitLab CI change * Remove unneeded unicode support * Optimize KC_MAKE
Diffstat (limited to 'layouts/community/ortho_5x12/drashna/config.h')
-rw-r--r--layouts/community/ortho_5x12/drashna/config.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/layouts/community/ortho_5x12/drashna/config.h b/layouts/community/ortho_5x12/drashna/config.h
new file mode 100644
index 0000000000..e41dadc601
--- /dev/null
+++ b/layouts/community/ortho_5x12/drashna/config.h
@@ -0,0 +1,16 @@
+#pragma once
+
+
+/* ws2812 RGB LED */
+#if defined(KEYBOARD_fractal)
+ #define RGB_DI_PIN D2
+ #undef RGBLED_NUM
+ #define RGBLIGHT_ANIMATIONS
+ #define RGBLED_NUM 29 // 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