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.

68 lines
2.0 KiB

  1. /*
  2. Copyright 2015 Jun Wako <wakojun@gmail.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_COL_PINS { B14, A14, B1, C13, C14, C15, F0, F1, B9, B8, B7, B6, B5, B4, B3, A15 }
  16. #define MATRIX_ROW_PINS { A10, A9, A8, B12 }
  17. #define DIODE_DIRECTION COL2ROW
  18. #define BACKLIGHT_PIN A6
  19. #define BACKLIGHT_PWM_DRIVER PWMD3
  20. #define BACKLIGHT_PWM_CHANNEL 1
  21. #define BACKLIGHT_PAL_MODE 1
  22. #define BACKLIGHT_LEVELS 6
  23. #define BACKLIGHT_BREATHING
  24. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  25. #define LOCKING_SUPPORT_ENABLE
  26. /* Locking resynchronize hack */
  27. #define LOCKING_RESYNC_ENABLE
  28. #define RGBLIGHT_EFFECT_BREATHING
  29. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  30. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  31. #define RGBLIGHT_EFFECT_SNAKE
  32. #define RGBLIGHT_EFFECT_KNIGHT
  33. #define RGBLIGHT_EFFECT_CHRISTMAS
  34. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  35. #define RGBLIGHT_EFFECT_RGB_TEST
  36. #define RGBLIGHT_EFFECT_ALTERNATING
  37. #define RGBLIGHT_EFFECT_TWINKLE
  38. #define RGB_DI_PIN B15
  39. #define RGBLED_NUM 22
  40. #define WS2812_SPI SPID2
  41. #define WS2812_SPI_MOSI_PAL_MODE 0
  42. #define WS2812_SPI_SCK_PAL_MODE 0
  43. #define WS2812_SPI_SCK_PIN B13
  44. /*
  45. * Feature disable options
  46. * These options are also useful to firmware size reduction.
  47. */
  48. /* disable debug print */
  49. //#define NO_DEBUG
  50. /* disable print */
  51. //#define NO_PRINT
  52. /* disable action features */
  53. //#define NO_ACTION_LAYER
  54. //#define NO_ACTION_TAPPING
  55. //#define NO_ACTION_ONESHOT