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.

77 lines
2.1 KiB

  1. #pragma once
  2. /*
  3. Copyright 2022 Andrew Kannan
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation, either version 2 of the License, or
  7. (at your option) any later version.
  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. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. */
  15. #pragma once
  16. #define MATRIX_COL_PINS { B1, B0, A7, A1, A5, A4, A3, A10, B9, B8, B7, B6, B5, B4, B3, A15, A14 }
  17. #define MATRIX_ROW_PINS { B2, B10, B11, A2, A0 }
  18. #define DIODE_DIRECTION COL2ROW
  19. #define BACKLIGHT_PIN A6
  20. #define BACKLIGHT_PWM_DRIVER PWMD3
  21. #define BACKLIGHT_PWM_CHANNEL 1
  22. #define BACKLIGHT_PAL_MODE 1
  23. #define BACKLIGHT_LEVELS 6
  24. #define BACKLIGHT_BREATHING
  25. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  26. #define LOCKING_SUPPORT_ENABLE
  27. /* Locking resynchronize hack */
  28. #define LOCKING_RESYNC_ENABLE
  29. #define RGBLIGHT_EFFECT_BREATHING
  30. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  31. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  32. #define RGBLIGHT_EFFECT_SNAKE
  33. #define RGBLIGHT_EFFECT_KNIGHT
  34. #define RGBLIGHT_EFFECT_CHRISTMAS
  35. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  36. #define RGBLIGHT_EFFECT_RGB_TEST
  37. #define RGBLIGHT_EFFECT_ALTERNATING
  38. #define RGBLIGHT_EFFECT_TWINKLE
  39. #define RGB_DI_PIN B15
  40. #define RGBLED_NUM 14
  41. #define WS2812_SPI SPID2
  42. #define WS2812_SPI_MOSI_PAL_MODE 0
  43. #define WS2812_SPI_SCK_PAL_MODE 0
  44. #define WS2812_SPI_SCK_PIN B13
  45. // 2 bits for 4 layout options
  46. #define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2
  47. #define SLEEP_LED_GPT_DRIVER GPTD1
  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