config.h 764 B

12345678910111213141516171819202122232425262728293031
  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0x6172
  5. #define PRODUCT_ID 0x6060
  6. #define DEVICE_VER 0x0001
  7. #define MANUFACTURER PH
  8. #define PRODUCT Arisu
  9. /* key matrix size */
  10. #define MATRIX_ROWS 10
  11. #define MATRIX_COLS 8
  12. /* key matrix pins */
  13. #define MATRIX_ROW_PINS { D3, D2, D1, D0, D4, C6, D7, E6, B4, B5 }
  14. #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B6 }
  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