logo

qmk_firmware

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

config.h (1456B)


  1. /* Copyright 2019 Branden Byers
  2. *
  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. *
  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. *
  13. * You should have received a copy of the GNU General Public License
  14. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. */
  16. #pragma once
  17. #define AUDIO_CLICKY
  18. #define DAC_SAMPLE_MAX 65535U
  19. // Audio Click
  20. // Music Mode Polyphony
  21. // NOTE: Must change polyphony_rate to a number higher than 0 in voices.c
  22. #define AUDIO_VOICES
  23. #define PITCH_STANDARD_A 880.0f
  24. #define AUDIO_PIN A5
  25. #define AUDIO_PIN_ALT A4
  26. #define AUDIO_PIN_ALT_AS_NEGATIVE
  27. // Mouse keys
  28. #define MOUSEKEY_DELAY 0
  29. #define MOUSEKEY_INTERVAL 20
  30. #define MOUSEKEY_MAX_SPEED 2
  31. #define MOUSEKEY_TIME_TO_MAX 5
  32. #define MOUSEKEY_WHEEL_DELAY 0
  33. /*
  34. * Feature disable options
  35. * These options are also useful to firmware size reduction.
  36. */
  37. /* disable debug print */
  38. //#define NO_DEBUG
  39. /* disable print */
  40. //#define NO_PRINT
  41. /* disable action features */
  42. //#define NO_ACTION_LAYER
  43. //#define NO_ACTION_TAPPING
  44. //#define NO_ACTION_ONESHOT