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.

121 lines
3.7 KiB

  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. #include "config_common.h"
  18. /* key matrix size */
  19. // SWAP FOR PRO MICRO
  20. // #define MATRIX_ROWS 8
  21. #define MATRIX_ROWS 9
  22. #define MATRIX_COLS 6
  23. /* key matrix pins */
  24. // SWAP FOR PRO MICRO
  25. // #define MATRIX_ROW_PINS { D2, D7, E6, B4, B5, B6, B2, B3 }
  26. #define MATRIX_ROW_PINS { D2, D7, E6, B4, B5, B6, B2, B3, F0 }
  27. #define MATRIX_COL_PINS { D3, F4, F5, F6, F7, B1 }
  28. #define UNUSED_PINS
  29. #define DIODE_DIRECTION COL2ROW
  30. /* ROTARY ENCODERS */
  31. /* 4 encoder positions are supported. With multiple
  32. encoder support when using the extra pins of
  33. Elite-C controller.
  34. Use the following configuration guides for your
  35. encoder layout. */
  36. /* PRO MICRO CONFIGURATIONS */
  37. /* If using a Pro Micro, only 1 encoder may be used,
  38. and only in the top or bottom position.
  39. Top and bottom encoders share the same net,
  40. so there is only one configuration. */
  41. /* TOP or BOTTOM */
  42. // #define ENCODERS_PAD_A { C6 }
  43. // #define ENCODERS_PAD_B { D4 }
  44. /* ELITE-C ONLY CONFIGURATIONS */
  45. /* TOP 3
  46. Default configuration */
  47. #define ENCODERS_PAD_A { C6 , B7, C7 }
  48. #define ENCODERS_PAD_B { D4 , D5, F1 }
  49. /* BOTTOM 3 */
  50. // #define ENCODERS_PAD_A { B7, C7, C6 }
  51. // #define ENCODERS_PAD_B { D5, F1, D4 }
  52. /* BOTTOM 2 */
  53. // #define ENCODERS_PAD_A { C7, C6 }
  54. // #define ENCODERS_PAD_B { F1, D4 }
  55. #define ENCODER_RESOLUTION 2
  56. #define BACKLIGHT_LEVELS 5
  57. #ifdef LED_MATRIX_ENABLE
  58. #define LED_DRIVER_ADDR_1 0x74
  59. #define LED_DRIVER_COUNT 1
  60. #define DRIVER_LED_TOTAL 105
  61. #define LED_MATRIX_ROWS 15
  62. #define LED_MATRIX_COLS 7
  63. #define LED_MATRIX_MAXIMUM_BRIGHTNESS 20
  64. #define LED_DISABLE_WHEN_USB_SUSPENDED
  65. // LED Matrix Animation modes. Explicitly enabled
  66. // For full list of effects, see:
  67. // https://docs.qmk.fm/#/feature_led_matrix?id=led-matrix-effects
  68. // # define ENABLE_LED_MATRIX_ALPHAS_MODS
  69. // # define ENABLE_LED_MATRIX_BREATHING
  70. // # define ENABLE_LED_MATRIX_BAND
  71. // # define ENABLE_LED_MATRIX_BAND_PINWHEEL
  72. // # define ENABLE_LED_MATRIX_BAND_SPIRAL
  73. // # define ENABLE_LED_MATRIX_CYCLE_LEFT_RIGHT
  74. // # define ENABLE_LED_MATRIX_CYCLE_UP_DOWN
  75. // # define ENABLE_LED_MATRIX_CYCLE_OUT_IN
  76. // # define ENABLE_LED_MATRIX_DUAL_BEACON
  77. // # if defined(LED_MATRIX_KEYREACTIVE_ENABLED)
  78. // # define ENABLE_LED_MATRIX_SOLID_REACTIVE_SIMPLE
  79. // # define ENABLE_LED_MATRIX_SOLID_REACTIVE_WIDE
  80. // # define ENABLE_LED_MATRIX_SOLID_REACTIVE_MULTIWIDE
  81. // # define ENABLE_LED_MATRIX_SOLID_REACTIVE_CROSS
  82. // # define ENABLE_LED_MATRIX_SOLID_REACTIVE_MULTICROSS
  83. // # define ENABLE_LED_MATRIX_SOLID_REACTIVE_NEXUS
  84. // # define ENABLE_LED_MATRIX_SOLID_REACTIVE_MULTINEXUS
  85. // # define ENABLE_LED_MATRIX_SPLASH
  86. // # define ENABLE_LED_MATRIX_MULTISPLASH
  87. // # endif
  88. // # define ENABLE_LED_MATRIX_WAVE_LEFT_RIGHT
  89. // # define ENABLE_LED_MATRIX_WAVE_UP_DOWN
  90. #endif
  91. /* Terrazzo animations */
  92. // #define DISABLE_TERRAZZO_EFFECT_STRIPES
  93. // #define DISABLE_TERRAZZO_EFFECT_DINO
  94. // #define DISABLE_TERRAZZO_EFFECT_OUTRUN
  95. #define DISABLE_TERRAZZO_EFFECT_PAC_DUDE
  96. #define DISABLE_TERRAZZO_EFFECT_HEART
  97. // #define DISABLE_TERRAZZO_EFFECT_WPM_CHART
  98. #define DISABLE_TERRAZZO_EFFECT_DOT