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.

36 lines
1008 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. #define DESCRIPTION qmk keyboard firmware for XW60
  10. /* key matrix size */
  11. #define MATRIX_ROWS 5
  12. #define MATRIX_COLS 14
  13. #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }
  14. #define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B7, B5, B4, D7, D6, B3 }
  15. #define UNUSED_PINS
  16. /* COL2ROW or ROW2COL */
  17. #define DIODE_DIRECTION COL2ROW
  18. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  19. #define DEBOUNCE 5
  20. /* define if matrix has ghost (lacks anti-ghosting diodes) */
  21. //#define MATRIX_HAS_GHOST
  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 SOLENOID_PIN F6
  26. #define SOLENOID_ACTIVE true
  27. #define SOLENOID_DEFAULT_DWELL 75