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.

52 lines
1.6 KiB

  1. /*
  2. * Copyright (C) 2020 Longnald <support@longnald.com>
  3. * Copyright (C) 2020 Seaton Jiang <seaton@vtrois.com>
  4. *
  5. * This program is free software: you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation, either version 3 of the License, or
  8. * (at your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program. If not, see <https://www.gnu.org/licenses/>.
  17. */
  18. #pragma once
  19. #include "config_common.h"
  20. /* USB Device descriptor parameter */
  21. #define VENDOR_ID 0x5633
  22. #define PRODUCT_ID 0x1024
  23. #define DEVICE_VER 0x0004
  24. #define MANUFACTURER Longnald
  25. #define PRODUCT Corin
  26. /* key matrix size */
  27. #define MATRIX_ROWS 5
  28. #define MATRIX_COLS 15
  29. /* Keyboard Matrix Assignments */
  30. #define MATRIX_ROW_PINS { F4, F0, B2, B3, D5 }
  31. #define MATRIX_COL_PINS { F7, F6, F1, F5, B1, E6, D4, B7, D1, D2, D0, B4, B6, C6, C7 }
  32. #define DIODE_DIRECTION COL2ROW
  33. #define RGB_DI_PIN D3
  34. #ifdef RGB_DI_PIN
  35. # define RGBLED_NUM 64
  36. # define RGBLIGHT_HUE_STEP 20
  37. # define RGBLIGHT_SAT_STEP 20
  38. # define RGBLIGHT_VAL_STEP 40
  39. # define RGBLIGHT_LIMIT_VAL 200
  40. # define RGBLIGHT_SLEEP
  41. # define RGBLIGHT_EFFECT_BREATHING
  42. # define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  43. # define RGBLIGHT_EFFECT_SNAKE
  44. # define RGBLIGHT_EFFECT_STATIC_GRADIENT
  45. #endif