Peter's keyboard firmware (QMK) https://qmk.fm/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.h 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /* Copyright 2017 REPLACE_WITH_YOUR_NAME
  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. #ifndef CONFIG_USER_H
  17. #define CONFIG_USER_H
  18. #include QMK_KEYBOARD_CONFIG_H
  19. #if (defined(TAP_DANCE_ENABLE) && !defined(TAPPING_TERM))
  20. #define TAPPING_TERM 200
  21. #endif // TAP_DANCE_ENABLE
  22. #define B5_AUDIO
  23. #ifdef RGBLIGHT_ENABLE
  24. #define RGB_DI_PIN D3
  25. #define RGBLED_NUM 14 // Number of LEDs
  26. #define RGBLIGHT_ANIMATIONS
  27. #define RGBLIGHT_HUE_STEP 12
  28. #define RGBLIGHT_SAT_STEP 12
  29. #define RGBLIGHT_VAL_STEP 12
  30. #define RGBLIGHT_EFFECT_KNIGHT_LENGTH 4
  31. #define RGBLIGHT_EFFECT_SNAKE_LENGTH 3
  32. #define RGBLIGHT_EFFECT_BREATHE_CENTER 1
  33. #define RGBLIGHT_SLEEP
  34. #endif // RGBLIGHT_ENABLE
  35. #define FORCE_NKRO
  36. #endif