config.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. // Copyright 2021 @wekey (@@wekey)
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. /*
  5. * Keyboard Matrix Assignments
  6. *
  7. * Change this to how you wired your keyboard
  8. * COLS: AVR pins used for columns, left to right
  9. * ROWS: AVR pins used for rows, top to bottom
  10. * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
  11. * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
  12. *
  13. */
  14. #define MATRIX_ROW_PINS { F0, E6, D0, D1, C6, F7, F6, F5, F4, F1 }
  15. #define MATRIX_COL_PINS { C7, B6, B5, B4, D7, D6, D4, D5 }
  16. /* COL2ROW, ROW2COL */
  17. #define DIODE_DIRECTION COL2ROW
  18. #define ENCODERS_CW_KEY { { 4, 7 } }
  19. #define ENCODERS_CCW_KEY { { 4, 6 } }
  20. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  21. #define LOCKING_SUPPORT_ENABLE
  22. /* Locking resynchronize hack */
  23. #define LOCKING_RESYNC_ENABLE
  24. /*
  25. * Feature disable options
  26. * These options are also useful to firmware size reduction.
  27. */
  28. /* disable debug print */
  29. //#define NO_DEBUG
  30. /* disable print */
  31. //#define NO_PRINT
  32. /* disable action features */
  33. //#define NO_ACTION_LAYER
  34. //#define NO_ACTION_TAPPING
  35. //#define NO_ACTION_ONESHOT