config.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // Copyright 2022 xia0 (@xia0)
  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 keyboards
  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 { F4, F5, F6 }
  15. #define MATRIX_COL_PINS { B1, B3, B2 }
  16. /* COL2ROW, ROW2COL */
  17. #define DIODE_DIRECTION COL2ROW
  18. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  19. #define LOCKING_SUPPORT_ENABLE
  20. /* Locking resynchronize hack */
  21. #define LOCKING_RESYNC_ENABLE
  22. /*
  23. * Feature disable options
  24. * These options are also useful to firmware size reduction.
  25. */
  26. /* disable debug print */
  27. //#define NO_DEBUG
  28. /* disable print */
  29. //#define NO_PRINT
  30. /* disable action features */
  31. //#define NO_ACTION_LAYER
  32. //#define NO_ACTION_TAPPING
  33. //#define NO_ACTION_ONESHOT