config.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /* Copyright
  2. * 2017 Josh Black (@consolenaut)
  3. * 2021 QMK
  4. *
  5. * This program is free software: you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation, either version 2 of the License, or
  8. * (at your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. #pragma once
  19. /* Planck PCB default pin-out */
  20. #define MATRIX_ROW_PINS { B6, F7, F6, D6 }
  21. #define MATRIX_COL_PINS { F5, F1, F0 }
  22. /* COL2ROW or ROW2COL */
  23. #define DIODE_DIRECTION ROW2COL
  24. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  25. #define LOCKING_SUPPORT_ENABLE
  26. /* Locking resynchronize hack */
  27. #define LOCKING_RESYNC_ENABLE
  28. /*
  29. * Feature disable options
  30. * These options are also useful to firmware size reduction.
  31. */
  32. /* disable debug print */
  33. //#define NO_DEBUG
  34. /* disable print */
  35. //#define NO_PRINT
  36. /* disable action features */
  37. //#define NO_ACTION_LAYER
  38. //#define NO_ACTION_TAPPING
  39. //#define NO_ACTION_ONESHOT