config.h 904 B

12345678910111213141516171819202122232425262728293031323334
  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0xFF21
  5. #define PRODUCT_ID 0xAA03
  6. #define DEVICE_VER 0x0001
  7. #define MANUFACTURER westfoxtrot
  8. #define PRODUCT prophet
  9. /* key matrix size */
  10. #define MATRIX_ROWS 5
  11. #define MATRIX_COLS 14
  12. /*
  13. * Keyboard Matrix Assignments
  14. */
  15. #define MATRIX_ROW_PINS { C13, B2, B1, A4, A3 }
  16. #define MATRIX_COL_PINS { A6, A7, B0, A9, A8, A14, A15, B3, B4, B5, B8, B7, B6, B9 }
  17. #define UNUSED_PINS
  18. /* COL2ROW, ROW2COL, or CUSTOM_MATRIX */
  19. #define DIODE_DIRECTION COL2ROW
  20. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  21. #define DEBOUNCE 5
  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. #define SLEEP_LED_GPT_DRIVER GPTD1