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
813 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 Can
  8. #define PRODUCT cans12er
  9. /* key matrix size */
  10. #define MATRIX_ROWS 3
  11. #define MATRIX_COLS 4
  12. /* key matrix pins */
  13. #define MATRIX_ROW_PINS { F7, B1, B3 }
  14. #define MATRIX_COL_PINS { D0, D4, C6, D7 }
  15. #define UNUSED_PINS
  16. /* COL2ROW or ROW2COL */
  17. #define DIODE_DIRECTION ROW2COL
  18. /* number of backlight levels */
  19. #ifdef BACKLIGHT_PIN
  20. #define BACKLIGHT_LEVELS 0
  21. #endif
  22. /* Set 0 if debouncing isn't needed */
  23. #define DEBOUNCE 5
  24. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  25. #define LOCKING_SUPPORT_ENABLE
  26. /* Locking resynchronize hack */
  27. #define LOCKING_RESYNC_ENABLE