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.

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