config.h 1.2 KB

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