config.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /*
  2. Copyright 2017 REPLACE_WITH_YOUR_NAME
  3. This program is free software: you can redistribute it and/or modify
  4. it under the terms of the GNU General Public License as published by
  5. the Free Software Foundation, either version 2 of the License, or
  6. (at your option) any later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program. If not, see <http://www.gnu.org/licenses/>.
  13. */
  14. #pragma once
  15. #define RGB_DI_PIN C0
  16. #define RGBLED_NUM 12
  17. #define RGBLIGHT_EFFECT_BREATHING
  18. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  19. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  20. #define RGBLIGHT_EFFECT_SNAKE
  21. #define RGBLIGHT_EFFECT_KNIGHT
  22. #define RGBLIGHT_EFFECT_CHRISTMAS
  23. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  24. #define RGBLIGHT_EFFECT_RGB_TEST
  25. #define RGBLIGHT_EFFECT_ALTERNATING
  26. #define RGBLIGHT_EFFECT_TWINKLE
  27. /*
  28. * Keyboard Matrix Assignments
  29. *
  30. * Change this to how you wired your keyboard
  31. * COLS: AVR pins used for columns, left to right
  32. * ROWS: AVR pins used for rows, top to bottom
  33. * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
  34. * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
  35. *
  36. */
  37. /* #define CC6 0x63 // C3 */
  38. /* #define CB6 0x37 // B7 */
  39. /* #define CC7 0x62 // C2 */
  40. #define MATRIX_ROW_PINS { B0, B1, B2, B3, B4, B6, B7 }
  41. #define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 }
  42. /* COL2ROW, ROW2COL*/
  43. #define DIODE_DIRECTION COL2ROW
  44. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  45. /* #define LOCKING_SUPPORT_ENABLE */
  46. /* Locking resynchronize hack */
  47. /* #define LOCKING_RESYNC_ENABLE */
  48. /*
  49. * Feature disable options
  50. * These options are also useful to firmware size reduction.
  51. */
  52. /* disable debug print */
  53. //#define NO_DEBUG
  54. /* disable print */
  55. //#define NO_PRINT
  56. /* disable action features */
  57. //#define NO_ACTION_LAYER
  58. //#define NO_ACTION_TAPPING
  59. //#define NO_ACTION_ONESHOT