config.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /*
  2. Copyright 2012 Jun Wako <wakojun@gmail.com>
  3. Copyright 2015 Jack Humbert
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation, either version 2 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. */
  15. #pragma once
  16. // wiring of each half
  17. #define MATRIX_ROW_PINS { F0, B5, B4, D7, D6 }
  18. #define MATRIX_COL_PINS { B6, C6, C7, D4, D2, D3, D5, NO_PIN } // no B7 on left hand
  19. #define MATRIX_ROW_PINS_RIGHT { F0, B5, B4, D7, D6 }
  20. #define MATRIX_COL_PINS_RIGHT { B6, C6, C7, D4, D2, D3, D5, B7 }
  21. #define DIODE_DIRECTION COL2ROW
  22. /* Split Defines */
  23. #define SPLIT_USB_DETECT
  24. #define MASTER_LEFT
  25. #define USE_I2C
  26. /* ws2812 RGB LED */
  27. #define RGB_DI_PIN E6
  28. #define RGBLIGHT_EFFECT_BREATHING
  29. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  30. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  31. #define RGBLIGHT_EFFECT_SNAKE
  32. #define RGBLIGHT_EFFECT_KNIGHT
  33. #define RGBLIGHT_EFFECT_CHRISTMAS
  34. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  35. #define RGBLIGHT_EFFECT_RGB_TEST
  36. #define RGBLIGHT_EFFECT_ALTERNATING
  37. #define RGBLIGHT_EFFECT_TWINKLE
  38. //#define RGBLIGHT_SPLIT
  39. #define RGBLED_NUM 24 // Number of LEDs
  40. #define RGBLED_SPLIT { 12, 12 }
  41. /*
  42. * Feature disable options
  43. * These options are also useful to firmware size reduction.
  44. */
  45. /* disable debug print */
  46. // #define NO_DEBUG
  47. /* disable print */
  48. // #define NO_PRINT
  49. /* disable action features */
  50. //#define NO_ACTION_LAYER
  51. //#define NO_ACTION_TAPPING
  52. //#define NO_ACTION_ONESHOT