logo

qmk_firmware

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

config.h (1845B)


  1. /*
  2. Copyright 2019 SwanMatch
  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. #define MASTER_RIGHT
  16. #ifdef RGBLIGHT_ENABLE
  17. /*== customize breathing effect ==*/
  18. /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
  19. #define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
  20. /*==== use exp() and sin() ====*/
  21. #define RGBLIGHT_EFFECT_BREATHE_CENTER 2 // 1 to 2.7
  22. #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
  23. /*== customize snake effect ==*/
  24. #define RGBLIGHT_EFFECT_SNAKE_LENGTH RGBLIGHT_LED_COUNT
  25. /*== customize knight effect ==*/
  26. #define RGBLIGHT_EFFECT_KNIGHT_LENGTH 6
  27. #endif
  28. /* Audio */
  29. #ifdef AUDIO_ENABLE
  30. #define AUDIO_PIN B6
  31. #define STARTUP_SONG SONG(STARTUP_SOUND)
  32. #define AUDIO_CLICKY
  33. #define AUDIO_CLICKY_FREQ_RANDOMNESS 1.0f
  34. #endif
  35. //#define RETRO_TAPPING
  36. #ifdef MOUSEKEY_ENABLE
  37. #define MOUSEKEY_INTERVAL 20
  38. #define MOUSEKEY_MAX_SPEED 5
  39. #define MOUSEKEY_TIME_TO_MAX 60
  40. #endif
  41. /*
  42. * Feature disable options
  43. * These options are also useful to firmware size reduction.
  44. */
  45. /* disable debug print */
  46. //#define NO_DEBUG
  47. /* disable print */
  48. //#define NO_PRINT
  49. /* disable action features */
  50. //#define NO_ACTION_LAYER
  51. //#define NO_ACTION_TAPPING
  52. //#define NO_ACTION_ONESHOT