config.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /* Copyright 2020 Pylon
  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 3 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. #define MATRIX_COL_PINS \
  18. { B10, B11, B12, B13, B14, B15, A8, A9, A10, A15, B3, B4, B7, B8, B9, C14, C15, F0, A3 }
  19. #define MATRIX_ROW_PINS \
  20. { B5, B6, A7, B0, B1, B2, A4 }
  21. #define DIODE_DIRECTION COL2ROW
  22. #define BACKLIGHT_PWM_DRIVER PWMD3
  23. #define BACKLIGHT_PWM_CHANNEL 1
  24. #define BACKLIGHT_PAL_MODE 1
  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 RGBLED */
  30. #define RGB_DI_PIN A5
  31. #define RGBLED_NUM 1
  32. #define RGBLIGHT_EFFECT_BREATHING
  33. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  34. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  35. #define RGBLIGHT_EFFECT_SNAKE
  36. #define RGBLIGHT_EFFECT_KNIGHT
  37. #define RGBLIGHT_EFFECT_CHRISTMAS
  38. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  39. #define RGBLIGHT_EFFECT_RGB_TEST
  40. #define RGBLIGHT_EFFECT_ALTERNATING
  41. #define RGBLIGHT_EFFECT_TWINKLE
  42. #define RGBLIGHT_LAYERS
  43. //The 3D-printed version of Boston uses APA106 LEDs, which are reversed
  44. #define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB
  45. #define TAP_CODE_DELAY 15
  46. /*
  47. * Feature disable options
  48. * These options are also useful to firmware size reduction.
  49. */
  50. /* disable debug print */
  51. //#define NO_DEBUG
  52. /* disable print */
  53. //#define NO_PRINT
  54. /* disable action features */
  55. //#define NO_ACTION_LAYER
  56. //#define NO_ACTION_TAPPING
  57. //#define NO_ACTION_ONESHOT