logo

qmk_firmware

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

config.h (1825B)


  1. /*
  2. This is the c configuration file for the keymap
  3. Copyright 2012 Jun Wako <wakojun@gmail.com>
  4. Copyright 2015 Jack Humbert
  5. This program is free software: you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation, either version 2 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  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. // place overrides here
  18. #define TAPPING_TERM 200
  19. #define TAPPING_LAYER_TERM 150 // Custom LT Tapping term
  20. #define TAPPING_TERM_PER_KEY
  21. #ifdef MOUSEKEY_ENABLE
  22. #undef MOUSEKEY_INTERVAL
  23. #define MOUSEKEY_INTERVAL 1
  24. #undef MOUSEKEY_TIME_TO_MAX
  25. #define MOUSEKEY_TIME_TO_MAX 150
  26. #undef MOUSEKEY_MAX_SPEED
  27. #define MOUSEKEY_MAX_SPEED 3
  28. #undef MOUSEKEY_MOVE_DELTA
  29. #define MOUSEKEY_MOVE_DELTA 4
  30. #undef MOUSEKEY_DELAY
  31. #define MOUSEKEY_DELAY 0
  32. #endif
  33. // Selection of RGBLIGHT MODE to use.
  34. #if defined(LED_ANIMATIONS)
  35. //#define RGBLIGHT_EFFECT_BREATHING
  36. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  37. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  38. //#define RGBLIGHT_EFFECT_SNAKE
  39. #define RGBLIGHT_EFFECT_KNIGHT
  40. //#define RGBLIGHT_EFFECT_CHRISTMAS
  41. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  42. //#define RGBLIGHT_EFFECT_RGB_TEST
  43. //#define RGBLIGHT_EFFECT_ALTERNATING
  44. #endif
  45. // LED Setting: if you have KUMO you can use RGBLIGHT_ENABLE = yes
  46. #ifdef RGBLIGHT_ENABLE
  47. #define WS2812_DI_PIN B5
  48. #define RGBLIGHT_TIMER
  49. #define RGBLIGHT_LED_COUNT 6
  50. #endif