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.

47 lines
1.1 KiB

  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0xFEED
  5. #define PRODUCT_ID 0x6060
  6. #define DEVICE_VER 0x0001
  7. #define MANUFACTURER Sentraq
  8. #define PRODUCT S60-X-RGB
  9. /* key matrix size */
  10. #define MATRIX_ROWS 5
  11. #define MATRIX_COLS 15
  12. /* key matrix pins */
  13. #define MATRIX_ROW_PINS { B5, B4, D7, D6, D4 }
  14. #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, B6, C6, C7, F1, F0, E6, B3, B2, B1, B0 }
  15. #define UNUSED_PINS
  16. /* number of backlight levels */
  17. #define BACKLIGHT_PIN B7
  18. #ifdef BACKLIGHT_PIN
  19. #define BACKLIGHT_BREATHING
  20. #define BACKLIGHT_LEVELS 3
  21. #endif
  22. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  23. #define LOCKING_SUPPORT_ENABLE
  24. /* Locking resynchronize hack */
  25. #define LOCKING_RESYNC_ENABLE
  26. /* COL2ROW or ROW2COL */
  27. #define DIODE_DIRECTION COL2ROW
  28. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  29. #define DEBOUNCE 5
  30. #define RGB_DI_PIN F6
  31. #ifdef RGB_DI_PIN
  32. #define RGBLIGHT_ANIMATIONS
  33. #define RGBLED_NUM 10
  34. #define RGBLIGHT_HUE_STEP 8
  35. #define RGBLIGHT_SAT_STEP 8
  36. #define RGBLIGHT_VAL_STEP 8
  37. #endif