config.h 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /* Copyright 2020 ademey "MsMustard"
  2. *
  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. *
  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. *
  13. * You should have received a copy of the GNU General Public License
  14. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. */
  16. #pragma once
  17. /* key matrix pins */
  18. // SWAP FOR PRO MICRO
  19. // #define MATRIX_ROW_PINS { D2, D7, E6, B4, B5, B6, B2, B3 }
  20. #define MATRIX_ROW_PINS { D2, D7, E6, B4, B5, B6, B2, B3, F0 }
  21. #define MATRIX_COL_PINS { D3, F4, F5, F6, F7, B1 }
  22. #define DIODE_DIRECTION COL2ROW
  23. #ifdef LED_MATRIX_ENABLE
  24. #define LED_DRIVER_ADDR_1 0x74
  25. #define LED_DRIVER_COUNT 1
  26. #define LED_MATRIX_LED_COUNT 105
  27. #define LED_MATRIX_ROWS 15
  28. #define LED_MATRIX_COLS 7
  29. #define LED_MATRIX_MAXIMUM_BRIGHTNESS 20
  30. #define LED_DISABLE_WHEN_USB_SUSPENDED
  31. // LED Matrix Animation modes. Explicitly enabled
  32. // For full list of effects, see:
  33. // https://docs.qmk.fm/#/feature_led_matrix?id=led-matrix-effects
  34. // # define ENABLE_LED_MATRIX_ALPHAS_MODS
  35. // # define ENABLE_LED_MATRIX_BREATHING
  36. // # define ENABLE_LED_MATRIX_BAND
  37. // # define ENABLE_LED_MATRIX_BAND_PINWHEEL
  38. // # define ENABLE_LED_MATRIX_BAND_SPIRAL
  39. // # define ENABLE_LED_MATRIX_CYCLE_LEFT_RIGHT
  40. // # define ENABLE_LED_MATRIX_CYCLE_UP_DOWN
  41. // # define ENABLE_LED_MATRIX_CYCLE_OUT_IN
  42. // # define ENABLE_LED_MATRIX_DUAL_BEACON
  43. // # if defined(LED_MATRIX_KEYREACTIVE_ENABLED)
  44. // # define ENABLE_LED_MATRIX_SOLID_REACTIVE_SIMPLE
  45. // # define ENABLE_LED_MATRIX_SOLID_REACTIVE_WIDE
  46. // # define ENABLE_LED_MATRIX_SOLID_REACTIVE_MULTIWIDE
  47. // # define ENABLE_LED_MATRIX_SOLID_REACTIVE_CROSS
  48. // # define ENABLE_LED_MATRIX_SOLID_REACTIVE_MULTICROSS
  49. // # define ENABLE_LED_MATRIX_SOLID_REACTIVE_NEXUS
  50. // # define ENABLE_LED_MATRIX_SOLID_REACTIVE_MULTINEXUS
  51. // # define ENABLE_LED_MATRIX_SPLASH
  52. // # define ENABLE_LED_MATRIX_MULTISPLASH
  53. // # endif
  54. // # define ENABLE_LED_MATRIX_WAVE_LEFT_RIGHT
  55. // # define ENABLE_LED_MATRIX_WAVE_UP_DOWN
  56. #endif
  57. /* Terrazzo animations */
  58. // #define DISABLE_TERRAZZO_EFFECT_STRIPES
  59. // #define DISABLE_TERRAZZO_EFFECT_DINO
  60. // #define DISABLE_TERRAZZO_EFFECT_OUTRUN
  61. #define DISABLE_TERRAZZO_EFFECT_PAC_DUDE
  62. #define DISABLE_TERRAZZO_EFFECT_HEART
  63. // #define DISABLE_TERRAZZO_EFFECT_WPM_CHART
  64. #define DISABLE_TERRAZZO_EFFECT_DOT