config.h 1.2 KB

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