config.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*
  2. Copyright 2017 Balz Guenat
  3. This program is free software: you can redistribute it and/or modify
  4. it under the terms of the GNU General Public License as published by
  5. the Free Software Foundation, either version 2 of the License, or
  6. (at your option) any later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program. If not, see <http://www.gnu.org/licenses/>.
  13. */
  14. #pragma once
  15. /* key matrix size */
  16. #define MATRIX_ROWS 5
  17. #define MATRIX_COLS 16
  18. //#define DIODE_DIRECTION
  19. #define TAPPING_TERM 175
  20. /*
  21. * Feature disable options
  22. * These options are also useful to firmware size reduction.
  23. */
  24. #define USE_I2C
  25. /* disable debug print */
  26. //#define NO_DEBUG
  27. /* disable print */
  28. //#define NO_PRINT
  29. /* disable action features */
  30. //#define NO_ACTION_LAYER
  31. //#define NO_ACTION_TAPPING
  32. //#define NO_ACTION_ONESHOT
  33. // higher value means deeper actuation point, less sensitive
  34. // be careful and only make small adjustments (steps of 1 or 2).
  35. // too high and keys will fail to actuate. too low and keys will actuate spontaneously.
  36. // test all keys before further adjustment.
  37. // this should probably stay in the range +/-5.
  38. // #define ACTUATION_DEPTH_ADJUSTMENT 0