logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

config.h (1287B)


  1. /*
  2. Copyright 2020 Kan-Ru Chen <kanru@kanru.info>
  3. Copyright 2012 Jun Wako <wakojun@gmail.com>
  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. /* key matrix size */
  17. #define MATRIX_ROWS 8
  18. #define MATRIX_COLS 8
  19. /* matrix power saving */
  20. #define MATRIX_POWER_SAVE_TIMEOUT_MS 10000
  21. #define MATRIX_POWER_SAVE_TIMEOUT_L2_MS 1800000
  22. #define MATRIX_POWER_SAVE_TIMEOUT_L3_MS 7200000
  23. /*
  24. * Feature disable options
  25. * These options are also useful to firmware size reduction.
  26. */
  27. /* disable debug print */
  28. //#define NO_DEBUG
  29. /* disable print */
  30. //#define NO_PRINT
  31. /* disable action features */
  32. //#define NO_ACTION_LAYER
  33. //#define NO_ACTION_TAPPING
  34. //#define NO_ACTION_ONESHOT
  35. //#define DEBUG_MATRIX_SCAN_RATE