You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
2.5 KiB

  1. /*
  2. Copyright 2022 Stefan Sundin "4pplet" <4pplet@protonmail.com>
  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 MATRIX_ROWS 10
  16. #define MATRIX_COLS 7
  17. #define MATRIX_COL_PINS { A1, B12, B14, A2, A0, A3, A4}
  18. #define MATRIX_ROW_PINS { C14, C13, B5, B4, B8, A15, B3, B9, A5, A7}
  19. #define DIODE_DIRECTION COL2ROW
  20. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  21. #define LOCKING_SUPPORT_ENABLE
  22. /* Locking resynchronize hack */
  23. #define LOCKING_RESYNC_ENABLE
  24. /* Set 0 if debouncing isn't needed */
  25. #define DEBOUNCE 5
  26. #define DRIVER_ADDR_1 0b1010000
  27. #define DRIVER_COUNT 1
  28. #define DRIVER_LED_TOTAL 62
  29. #define ISSI_PWM_FREQUENCY 0b010
  30. #define STM32_HSECLK 8000000
  31. #define RGB_MATRIX_STARTUP_VAL 80
  32. #define RGB_MATRIX_KEYPRESSES
  33. // RGB Matrix Animation modes. Explicitly enabled
  34. // For full list of effects, see:
  35. // https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
  36. #define ENABLE_RGB_MATRIX_ALPHAS_MODS
  37. #define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
  38. #define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
  39. #define ENABLE_RGB_MATRIX_BREATHING
  40. #define ENABLE_RGB_MATRIX_CYCLE_ALL
  41. #define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
  42. #define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
  43. #define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
  44. #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
  45. #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
  46. #define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
  47. #define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
  48. #define ENABLE_RGB_MATRIX_DUAL_BEACON
  49. #define ENABLE_RGB_MATRIX_RAINBOW_BEACON
  50. #define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
  51. #define ENABLE_RGB_MATRIX_RAINDROPS
  52. #define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
  53. // enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined
  54. #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
  55. #define ENABLE_RGB_MATRIX_SOLID_REACTIVE
  56. #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
  57. #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
  58. #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
  59. #define ENABLE_RGB_MATRIX_SPLASH
  60. #define ENABLE_RGB_MATRIX_SOLID_SPLASH