config.h 779 B

123456789101112131415161718192021222324252627282930
  1. #pragma once
  2. #include "config_common.h"
  3. // USB Device descriptor parameter
  4. #define VENDOR_ID 0x5845 // XE
  5. #define PRODUCT_ID 0x5396 // Snap96
  6. #define DEVICE_VER 0x0001
  7. #define MANUFACTURER Xelus
  8. #define PRODUCT Snap96
  9. // key matrix size
  10. #define MATRIX_ROWS 12
  11. #define MATRIX_COLS 10
  12. // key matrix pins
  13. #define MATRIX_ROW_PINS { B2, B1, B0, C7, F6, F7, B3, D1, D2, D7, B6, C6 }
  14. #define MATRIX_COL_PINS { E6, D5, B7, D0, F5, D3, B4, B5, D4, D6 }
  15. #define UNUSED_PINS
  16. // COL2ROW or ROW2COL
  17. #define DIODE_DIRECTION COL2ROW
  18. // Set 0 if debouncing isn't needed
  19. #define DEBOUNCE 5
  20. // Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap
  21. #define LOCKING_SUPPORT_ENABLE
  22. // Locking resynchronize hack
  23. #define LOCKING_RESYNC_ENABLE