You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.6 KiB

  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. /* Maximum dynamic keymap layers (constrained by EEPROM space) */
  16. #define DYNAMIC_KEYMAP_LAYER_COUNT 3
  17. /* key matrix size */
  18. #define MATRIX_ROWS 8
  19. #define MATRIX_COLS 16
  20. // #define MATRIX_ROW_PINS { B0, B2, B4, B5, B6 }
  21. // #define MATRIX_COL_PINS { F5, B1, F0, F1, F4, B3, D7, D6, D4, D5, D3, D2, D1, D0 }
  22. //#define DIODE_DIRECTION
  23. /*
  24. * Feature disable options
  25. * These options are also useful to firmware size reduction.
  26. */
  27. #define USE_I2C
  28. /* disable debug print */
  29. //#define NO_DEBUG
  30. /* disable print */
  31. //#define NO_PRINT
  32. /* disable action features */
  33. //#define NO_ACTION_LAYER
  34. //#define NO_ACTION_TAPPING
  35. //#define NO_ACTION_ONESHOT
  36. // higher value means deeper actuation point, less sensitive
  37. // be careful and only make small adjustments (steps of 1 or 2).
  38. // too high and keys will fail to actuate. too low and keys will actuate spontaneously.
  39. // test all keys before further adjustment.
  40. // this should probably stay in the range +/-5.
  41. // #define ACTUATION_DEPTH_ADJUSTMENT 0