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
883 B

  1. #pragma once
  2. /* USB Device descriptor parameter */
  3. #define VENDOR_ID 0xFC32
  4. #define PRODUCT_ID 0x0287
  5. #define DEVICE_VER 0x0001
  6. #define MANUFACTURER JosefAdamcik
  7. #define PRODUCT Sofle
  8. /* key matrix size */
  9. // Rows are doubled-up
  10. #define MATRIX_ROWS 10
  11. #define MATRIX_COLS 6
  12. // wiring of each half
  13. #define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 }
  14. #define MATRIX_COL_PINS { F6, F7, B1, B3, B2, B6 }
  15. #define DIODE_DIRECTION COL2ROW
  16. #define TAPPING_TERM 100
  17. #define DEBOUNCE 5
  18. /* encoder support */
  19. #define ENCODERS_PAD_A { F5 }
  20. #define ENCODERS_PAD_B { F4 }
  21. #define ENCODERS_PAD_A_RIGHT { F4 }
  22. #define ENCODERS_PAD_B_RIGHT { F5 }
  23. #define ENCODER_RESOLUTION 2
  24. #define TAP_CODE_DELAY 10
  25. /* communication between sides */
  26. #define USE_SERIAL
  27. #define SERIAL_USE_MULTI_TRANSACTION
  28. #define SOFT_SERIAL_PIN D2
  29. #define NO_ACTION_MACRO
  30. #define NO_ACTION_FUNCTION