config.h 1000 B

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