config.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. Copyright 2019 @foostan
  3. Copyright 2020 Drashna Jaelre <@drashna>
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation, either version 2 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. */
  15. #pragma once
  16. #define MATRIX_ROW_PINS \
  17. { D4, C6, D7, E6 }
  18. // wiring of each half
  19. #define MATRIX_COL_PINS \
  20. { F4, F5, F6, F7, B1, B3 }
  21. // #define MATRIX_COL_PINS { B2, B3, B1, F7, F6, F5, F4 } //uncomment this line and comment line above if you need to reverse left-to-right key order
  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