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.2 KiB

  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 DESCRIPTION q.m.k. keyboard firmware for S65-PLUS
  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 18
  14. /* key matrix pins */
  15. #define MATRIX_ROW_PINS { C7, C6, B6, B5, B4 }
  16. #define MATRIX_COL_PINS { F6, F5, 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 3
  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. /* COL2ROW or ROW2COL */
  29. #define DIODE_DIRECTION COL2ROW
  30. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  31. #define DEBOUNCE 5
  32. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  33. #define LOCKING_SUPPORT_ENABLE
  34. /* Locking resynchronize hack */
  35. #define LOCKING_RESYNC_ENABLE
  36. #endif