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.

35 lines
953 B

  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 Drclick
  8. #define PRODUCT XW60
  9. /* key matrix size */
  10. #define MATRIX_ROWS 5
  11. #define MATRIX_COLS 14
  12. #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }
  13. #define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B7, B5, B4, D7, D6, B3 }
  14. #define UNUSED_PINS
  15. /* COL2ROW or ROW2COL */
  16. #define DIODE_DIRECTION COL2ROW
  17. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  18. #define DEBOUNCE 5
  19. /* define if matrix has ghost (lacks anti-ghosting diodes) */
  20. //#define MATRIX_HAS_GHOST
  21. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  22. #define LOCKING_SUPPORT_ENABLE
  23. /* Locking resynchronize hack */
  24. #define SOLENOID_PIN F6
  25. #define SOLENOID_ACTIVE true
  26. #define SOLENOID_DEFAULT_DWELL 75