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.

75 lines
2.1 KiB

  1. /*
  2. Copyright 2021 Spencer Deven <splitlogicdesign@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 3 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. #include "config_common.h"
  16. /* USB Device descriptor parameter */
  17. #define VENDOR_ID 0xF901
  18. #define PRODUCT_ID 0xF902
  19. #define DEVICE_VER 0x0001
  20. #define MANUFACTURER Aleblazer
  21. #define PRODUCT Zodiark
  22. #define NO_ACTION_MACRO
  23. #define SOFT_SERIAL_PIN D3
  24. #define SERIAL_USE_MULTI_TRANSACTION
  25. #define SELECT_SOFT_SERIAL_SPEED 1
  26. /* key matrix size */
  27. #define MATRIX_ROWS 10
  28. #define MATRIX_COLS 7
  29. #define DIODE_DIRECTION COL2ROW
  30. #define ENCODERS_PAD_A { D2 }
  31. #define ENCODERS_PAD_B { D4 }
  32. #define ENCODERS_PAD_A_RIGHT { D4 }
  33. #define ENCODERS_PAD_B_RIGHT { D2 }
  34. #define ENCODER_RESOLUTION 3
  35. /* key matrix pins */
  36. #define MATRIX_ROW_PINS { C6, D7, E6, B4, F4 }
  37. #define MATRIX_COL_PINS { F5, F6, F7, B1, B3, B2, B6 }
  38. /* Set 0 if debouncing isn't needed */
  39. #define DEBOUNCE 5
  40. #define RGB_DI_PIN B5
  41. #ifdef RGBLIGHT_ENABLE
  42. #define RGBLED_NUM 68
  43. #define RGBLIGHT_SPLIT
  44. #define RGBLED_SPLIT { 34, 34 }
  45. #define RGBLIGHT_LIMIT_VAL 170
  46. #define RGBLIGHT_ANIMATIONS
  47. #define RGBLIGHT_HUE_STEP 8
  48. #define RGBLIGHT_SAT_STEP 8
  49. #define RGBLIGHT_VAL_STEP 8
  50. #endif
  51. #ifdef RGB_MATRIX_ENABLE
  52. #define DRIVER_LED_TOTAL 68
  53. #define RGB_MATRIX_SPLIT { 34, 34 }
  54. #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
  55. #define RGB_MATRIX_KEYPRESSES
  56. #define RGB_MATRIX_FRAMEBUFFER_EFFECTS
  57. #define RGB_MATRIX_HUE_STEP 8
  58. #define RGB_MATRIX_SAT_STEP 8
  59. #define RGB_MATRIX_VAL_STEP 8
  60. #define RGB_MATRIX_SPD_STEP 10
  61. #endif