config.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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 IGNORE_MOD_TAP_INTERRUPT
  20. #define TAPPING_LAYER_TERM 150 // Custom LT Tapping term
  21. #define TAPPING_TERM_PER_KEY
  22. #ifdef MOUSEKEY_ENABLE
  23. #undef MOUSEKEY_INTERVAL
  24. #define MOUSEKEY_INTERVAL 1
  25. #undef MOUSEKEY_TIME_TO_MAX
  26. #define MOUSEKEY_TIME_TO_MAX 150
  27. #undef MOUSEKEY_MAX_SPEED
  28. #define MOUSEKEY_MAX_SPEED 3
  29. #undef MOUSEKEY_MOVE_DELTA
  30. #define MOUSEKEY_MOVE_DELTA 4
  31. #undef MOUSEKEY_DELAY
  32. #define MOUSEKEY_DELAY 0
  33. #endif
  34. // Selection of RGBLIGHT MODE to use.
  35. #if defined(LED_ANIMATIONS)
  36. //#define RGBLIGHT_EFFECT_BREATHING
  37. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  38. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  39. //#define RGBLIGHT_EFFECT_SNAKE
  40. #define RGBLIGHT_EFFECT_KNIGHT
  41. //#define RGBLIGHT_EFFECT_CHRISTMAS
  42. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  43. //#define RGBLIGHT_EFFECT_RGB_TEST
  44. //#define RGBLIGHT_EFFECT_ALTERNATING
  45. #endif
  46. // LED Setting: if you have KUMO you can use RGBLIGHT_ENABLE = yes
  47. #ifdef RGBLIGHT_ENABLE
  48. #define RGB_DI_PIN B5
  49. #define RGBLIGHT_TIMER
  50. #define RGBLED_NUM 6
  51. #endif