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.

33 lines
848 B

  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0x484C // "HL"
  5. #define PRODUCT_ID 0x0087 // "TKL"
  6. #define DEVICE_VER 0x0001
  7. #define MANUFACTURER Hardlineworks
  8. #define PRODUCT OTD-PLUS
  9. /* key matrix size */
  10. #define MATRIX_ROWS 12
  11. #define MATRIX_COLS 9
  12. #define MATRIX_ROW_PINS { D2, D4, D1, E6, F5, C6, B6, F6, F0, D0, D6, D3 }
  13. #define MATRIX_COL_PINS { B3, B2, B1, B7, B0, F1, D7, F7, C7 }
  14. #define UNUSED_PINS
  15. /* COL2ROW or ROW2COL */
  16. #define DIODE_DIRECTION COL2ROW
  17. #define CAPS_LOCK_LED_PIN F4
  18. #define SCROLL_LOCK_LED_PIN D5
  19. /* Set 0 if debouncing isn't needed */
  20. #define DEBOUNCE 5
  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 LOCKING_RESYNC_ENABLE