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.

44 lines
1.1 KiB

  1. // Copyright 2022 peepeetee (@peepeetee)
  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 { D0, F7, F6, F5, F4, D5 }
  15. #define MATRIX_COL_PINS { F1, F0, E6, C7, C6, B0, D4, B1, B7, B5, B4, D7, D6, B3, D1 }
  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. #define FORCE_NKRO
  23. /*
  24. * Feature disable options
  25. * These options are also useful to firmware size reduction.
  26. */
  27. /* disable debug print */
  28. //#define NO_DEBUG
  29. /* disable print */
  30. //#define NO_PRINT
  31. /* disable action features */
  32. //#define NO_ACTION_LAYER
  33. //#define NO_ACTION_TAPPING
  34. //#define NO_ACTION_ONESHOT