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.

82 lines
2.2 KiB

  1. /* Copyright 2021-2022 alin m elena <alinm.elena@gmail.com>
  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. /* USB Device descriptor parameter */
  19. #define PRODUCT_ID 0x0001
  20. #define DEVICE_VER 0x0001
  21. #define MATRIX_ROW_PINS \
  22. { B0, A6, A7, B1, A5 }
  23. #define MATRIX_COL_PINS \
  24. { B14, A10, A15, B3, B4, B5 }
  25. #define MATRIX_ROW_PINS_RIGHT \
  26. { B1, A4, A5, A6, A7 }
  27. #define MATRIX_COL_PINS_RIGHT \
  28. { B0, A3, A2, A1, B7, B5 } // cols are from right to left to match the layout
  29. #define ENCODERS_PAD_A \
  30. { A0 }
  31. #define ENCODERS_PAD_B \
  32. { B8 }
  33. #define ENCODER_RESOLUTIONS \
  34. { 4 }
  35. #define LED_NUM_LOCK_PIN B12
  36. #define LED_SCROLL_LOCK_PIN B13
  37. #define LED_CAPS_LOCK_PIN C13
  38. #define SPLIT_LAYER_STATE_ENABLE
  39. #define SPLIT_LED_STATE_ENABLE
  40. #define RGB_DI_PIN B15
  41. #define SPLIT_HAND_PIN B9
  42. #define SERIAL_USART_TX_PIN B6
  43. #define RGBLIGHT_SPLIT
  44. #define UNUSED_PINS
  45. #define SERIAL_USART_SPEED 921600
  46. /* COL2ROW, ROW2COL*/
  47. #define DIODE_DIRECTION COL2ROW
  48. #define MATRIX_IO_DELAY 5
  49. #define RGBLIGHT_LAYERS
  50. #define RGBLED_NUM 16
  51. #define RGBLED_SPLIT \
  52. { 8, 8 }
  53. #define RGBLIGHT_EFFECT_BREATHING
  54. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  55. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  56. #define RGBLIGHT_EFFECT_SNAKE
  57. #define RGBLIGHT_EFFECT_KNIGHT
  58. #define RGBLIGHT_EFFECT_CHRISTMAS
  59. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  60. #define RGBLIGHT_EFFECT_RGB_TEST
  61. #define RGBLIGHT_EFFECT_ALTERNATING
  62. #define RGBLIGHT_EFFECT_TWINKLE
  63. /* Bootmagic Lite key configuration */
  64. #define BOOTMAGIC_LITE_ROW 0
  65. #define BOOTMAGIC_LITE_COLUMN 0
  66. #define BOOTMAGIC_LITE_ROW_RIGHT 5
  67. #define BOOTMAGIC_LITE_COLUMN_RIGHT 0