1
0

config.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /* Copyright 2020 Demo Studio <https://www.instagram.com/demostudio01>
  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. /*
  15. * Keyboard Matrix Assignments
  16. *
  17. * Change this to how you wired your keyboard
  18. * COLS: AVR pins used for columns, left to right
  19. * ROWS: AVR pins used for rows, top to bottom
  20. * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
  21. * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
  22. *
  23. */
  24. #define MATRIX_ROW_PINS { D1, D0, B3, B0, B2, B1 }
  25. #define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, C7, C6, B6, B5, B4, D7, D4, D6, D2, D3, D5 }
  26. #define DIODE_DIRECTION COL2ROW
  27. #define RGB_DI_PIN E2
  28. #ifdef RGB_DI_PIN
  29. #define RGBLED_NUM 22
  30. #define RGBLIGHT_HUE_STEP 8
  31. #define RGBLIGHT_SAT_STEP 8
  32. #define RGBLIGHT_VAL_STEP 8
  33. #define RGBLIGHT_LIMIT_VAL 180 /* The maximum brightness level */
  34. #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
  35. #define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD
  36. /*== or choose animations ==*/
  37. #define RGBLIGHT_EFFECT_BREATHING
  38. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  39. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  40. #define RGBLIGHT_EFFECT_SNAKE
  41. #define RGBLIGHT_EFFECT_KNIGHT
  42. #define RGBLIGHT_EFFECT_CHRISTMAS
  43. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  44. #define RGBLIGHT_EFFECT_RGB_TEST
  45. #define RGBLIGHT_EFFECT_ALTERNATING
  46. #define RGBLIGHT_EFFECT_TWINKLE
  47. #endif