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-PLUS
  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 18
  13. /* key matrix pins */
  14. #define MATRIX_ROW_PINS { C7, C6, B6, B5, B4 }
  15. #define MATRIX_COL_PINS { F6, F5, F4, F1, F0, E6, B0, B1, D5, B2, B3, D0, D1, D2, D4, D6, D7, F7 }
  16. #define UNUSED_PINS
  17. #define LED_CAPS_LOCK_PIN B7
  18. #define LED_PIN_ON_STATE 0
  19. /* number of backlight levels */
  20. #define BACKLIGHT_PIN B7
  21. #define BACKLIGHT_LEVELS 3
  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. /* 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