config.h 1015 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #pragma once
  2. /*
  3. * Keyboard Matrix Assignments
  4. *
  5. * Change this to how you wired your keyboard
  6. * COLS: AVR pins used for columns, left to right
  7. * ROWS: AVR pins used for rows, top to bottom
  8. * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
  9. * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
  10. *
  11. */
  12. #define MATRIX_ROW_PINS { D3, F4, F5, F6, F7, B1, B3, B2 }
  13. #define MATRIX_COL_PINS { B0, D2, D0, D1, D4, C6, D7, E6 }
  14. /* COL2ROW, ROW2COL*/
  15. #define DIODE_DIRECTION COL2ROW
  16. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  17. #define LOCKING_SUPPORT_ENABLE
  18. /* Locking resynchronize hack */
  19. #define LOCKING_RESYNC_ENABLE
  20. /*
  21. * Feature disable options
  22. * These options are also useful to firmware size reduction.
  23. */
  24. /* disable debug print */
  25. //#define NO_DEBUG
  26. /* disable print */
  27. //#define NO_PRINT
  28. /* disable action features */
  29. //#define NO_ACTION_LAYER
  30. //#define NO_ACTION_TAPPING
  31. //#define NO_ACTION_ONESHOT