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.

55 lines
1.4 KiB

  1. #pragma once
  2. #include "config_common.h"
  3. #define PRODUCT_ID 0x2390
  4. #define DEVICE_VER 0x0001
  5. /* key matrix size */
  6. #define MATRIX_ROWS 10
  7. #define MATRIX_COLS 8
  8. // ROWS: Top to bottom, COLS: Left to right
  9. /* Row pin configuration
  10. * row: 0 1 2 3 4 5 6 7 8 9
  11. * pin: B2 C7 C6 B6 B5 B0 B3 D5 D3 D2
  12. */
  13. #define MATRIX_ROW_PINS { B2, C7, C6, B6, B5, B0, B3, D5, D3, D2 }
  14. /* Column pin configuration
  15. * col: 0 1 2 3 4 5 6 7
  16. * pin: F0 F1 F4 F5 F6 F7 E6 B1
  17. */
  18. #define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, E6, B1 }
  19. #define UNUSED_PINS
  20. /* Speaker configuration
  21. */
  22. #define B7_AUDIO
  23. #define NO_MUSIC_MODE
  24. #define AUDIO_CLICKY
  25. /* Space savings
  26. */
  27. #define NO_ACTION_TAPPING
  28. /* Backlight configuration
  29. */
  30. #define BACKLIGHT_LEVELS 1
  31. /* Underlight configuration
  32. */
  33. #define RGB_DI_PIN D7
  34. #define RGBLED_NUM 26 // Number of LEDs
  35. #define RGBLIGHT_HUE_STEP 32
  36. #define RGBLIGHT_SAT_STEP 17
  37. #define RGBLIGHT_VAL_STEP 17
  38. #define RGBLIGHT_ANIMATIONS
  39. #define RGBLIGHT_EFFECT_BREATHE_CENTER 1
  40. #define RGBLIGHT_EFFECT_BREATHE_MAX 200
  41. #define RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL 666*2
  42. #define RGBLIGHT_EFFECT_CHRISTMAS_STEP 1
  43. #define RGBLIGHT_EFFECT_KNIGHT_LENGTH 4 // How many LEDs wide to light up
  44. #define RGBLIGHT_EFFECT_KNIGHT_OFFSET 16 // The led to start at
  45. #define RGBLIGHT_EFFECT_KNIGHT_LED_NUM 8 // How many LEDs to travel
  46. #define RGBLIGHT_EFFECT_SNAKE_LENGTH 4 // How many LEDs wide to light up