config.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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
  9. /* key matrix size */
  10. #define MATRIX_ROWS 5
  11. #define MATRIX_COLS 15
  12. /* key matrix pins */
  13. #define MATRIX_ROW_PINS { B7, B3, B2, B1, B0 }
  14. #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6, C7, E6, F1 }
  15. #define UNUSED_PINS { F0 }
  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 LOCKING_SUPPORT_ENABLE
  31. #define LOCKING_RESYNC_ENABLE
  32. #define NO_ACTION_ONESHOT
  33. #define NO_ACTION_MACRO
  34. #define NO_ACTION_FUNCTION