config.h 749 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. // Copyright 2022 L. Mistry (@schwarzer-geiger)
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. #define MATRIX_ROW_PINS \
  5. { F4, F5, F6, F7, B1, B3, B2 }
  6. #define MATRIX_COL_PINS \
  7. { D1, D4, C6, D7, E6, B4 }
  8. #define DIODE_DIRECTION COL2ROW
  9. // Underglow LED settings
  10. #define RGB_DI_PIN D0
  11. #define RGBLED_NUM 10
  12. // Thumbstick settings
  13. #define ANALOG_JOYSTICK_X_AXIS_PIN B5
  14. #define ANALOG_JOYSTICK_Y_AXIS_PIN B6
  15. // Thumbstick defaults
  16. #ifndef SCROLLING_LAYER
  17. #define SCROLLING_LAYER 1
  18. #endif
  19. #ifndef TAPPING_LAYER
  20. #define TAPPING_LAYER 2
  21. #endif
  22. #ifndef CURSOR_SPEED
  23. #define CURSOR_SPEED 70
  24. #endif
  25. #ifndef SCROLL_SPEED
  26. #define SCROLL_SPEED 25
  27. #endif
  28. #ifndef SCROLL_DELAY_MS
  29. #define SCROLL_DELAY_MS 70
  30. #endif