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.

37 lines
834 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 Jotix
  8. #define PRODUCT JotPad16
  9. /* key matrix size */
  10. #define MATRIX_ROWS 4
  11. #define MATRIX_COLS 4
  12. /* pro_micro pin-out */
  13. #define MATRIX_ROW_PINS { B6, B2, D2, D3 }
  14. #define MATRIX_COL_PINS { E6, D7, B3, B1 }
  15. #define UNUSED_PINS
  16. /* leds */
  17. #define JOTPAD16_LEDS
  18. #define JOTPAD16_LED1 B5
  19. #define JOTPAD16_LED2 B4
  20. #define QMK_LED B5
  21. /* COL2ROW or ROW2COL */
  22. #define DIODE_DIRECTION COL2ROW
  23. /* Set 0 if debouncing isn't needed */
  24. #define DEBOUNCE 0
  25. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  26. #define LOCKING_SUPPORT_ENABLE
  27. /* Locking resynchronize hack */
  28. #define LOCKING_RESYNC_ENABLE