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.

30 lines
706 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 OkKeebs LLC
  8. #define PRODUCT Puck
  9. /* key matrix size */
  10. #define MATRIX_ROWS 4
  11. #define MATRIX_COLS 3
  12. #define MATRIX_ROW_PINS { D2, D3, C6, C7 }
  13. #define MATRIX_COL_PINS { B4, D7, D6 }
  14. #define UNUSED_PINS
  15. /* COL2ROW or ROW2COL */
  16. #define DIODE_DIRECTION ROW2COL
  17. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  18. #define DEBOUNCE 5
  19. /* number of backlight levels */
  20. #define BACKLIGHT_LEVELS 3
  21. /* Locking resynchronize hack */
  22. #define LOCKING_RESYNC_ENABLE