config.h 994 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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 0x0100
  7. #define MANUFACTURER DAG3
  8. #define PRODUCT MySKeeb
  9. #define DESCRIPTION Custom Split Keyboard
  10. // Key Matrix Size //
  11. // Rows are Doubled-up
  12. #define MATRIX_ROWS 10
  13. #define MATRIX_COLS 7
  14. // Wiring of Each Half
  15. #define DIODE_DIRECTION COL2ROW
  16. #define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 }
  17. #define MATRIX_COL_PINS { B6, B2, B3, B1, F6, F7, F5 }
  18. #define MATRIX_COL_PINS_RIGHT { F5, B3, F7, B1, F6, B2, B6 }
  19. // Comunication and Split Detection
  20. #define USE_SERIAL
  21. #define SOFT_SERIAL_PIN D3
  22. #define SELECT_SOFT_SERIAL_SPEED 1
  23. #define SPLIT_USB_DETECT
  24. #define EE_HANDS
  25. #define SPLIT_USB_TIMEOUT 1000
  26. // OLED Display Config
  27. #define OLED_DISPLAY_128X64
  28. #define OLED_FONT_HEIGHT 8
  29. #define OLED_FONT_WIDTH 6
  30. #define OLED_FONT_H "skeeb_font.c"
  31. // Tap Dance
  32. #define TAPPING_TERM 200
  33. // Other
  34. #define DEBOUNCE 0