config.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /* Copyright 2020 Nathan Spears
  2. This program is free software: you can redistribute it and/or modify
  3. it under the terms of the GNU General Public License as published by
  4. the Free Software Foundation, either version 2 of the License, or
  5. (at your option) any later version.
  6. This program is distributed in the hope that it will be useful,
  7. but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  9. GNU General Public License for more details.
  10. You should have received a copy of the GNU General Public License
  11. along with this program. If not, see <http://www.gnu.org/licenses/>.
  12. */
  13. #pragma once
  14. #define MATRIX_ROW_PINS { D2, B3, B1, F1, F0 }
  15. #define MATRIX_COL_PINS { B2, B0, D1, F7, F6, F5, F4, D4, D6, D7, B4, B5, B6, C6, C7 }
  16. /* COL2ROW, ROW2COL */
  17. #define DIODE_DIRECTION COL2ROW
  18. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  19. #define LOCKING_SUPPORT_ENABLE
  20. /* Locking resynchronize hack */
  21. #define LOCKING_RESYNC_ENABLE
  22. /*
  23. * Feature disable options
  24. * These options are also useful to firmware size reduction.
  25. */
  26. /* disable debug print */
  27. //#define NO_DEBUG
  28. /* disable print */
  29. //#define NO_PRINT
  30. /* disable action features */
  31. //#define NO_ACTION_LAYER
  32. //#define NO_ACTION_TAPPING
  33. //#define NO_ACTION_ONESHOT
  34. // ws2812 options
  35. #define RGB_DI_PIN D3 // pin the DI on the ws2812 is hooked-up to
  36. #define RGBLIGHT_EFFECT_BREATHING
  37. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  38. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  39. #define RGBLIGHT_EFFECT_SNAKE
  40. #define RGBLIGHT_EFFECT_KNIGHT
  41. #define RGBLIGHT_EFFECT_CHRISTMAS
  42. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  43. #define RGBLIGHT_EFFECT_RGB_TEST
  44. #define RGBLIGHT_EFFECT_ALTERNATING
  45. #define RGBLIGHT_EFFECT_TWINKLE
  46. #define RGBLED_NUM 14 // number of LEDs
  47. #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue
  48. #define RGBLIGHT_SAT_STEP 25 // units to step when in/decresing saturation
  49. #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness)