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.

74 lines
2.0 KiB

  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. Copyright 2017 Art Ortenburger
  6. This program is free software: you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation, either version 2 of the License, or
  9. (at your option) any later version.
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. GNU General Public License for more details.
  14. You should have received a copy of the GNU General Public License
  15. along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. */
  17. #ifndef CONFIG_USER_H
  18. #define CONFIG_USER_H
  19. #include QMK_KEYBOARD_CONFIG_H
  20. /* Use I2C or Serial, not both */
  21. #define USE_SERIAL
  22. // #define USE_I2C
  23. /* Select hand configuration */
  24. // #define MASTER_LEFT
  25. // #define MASTER_RIGHT
  26. #define EE_HANDS
  27. #ifdef TAPPING_TERM
  28. #undef TAPPING_TERM
  29. #endif
  30. #define TAPPING_TERM 150
  31. #undef PERMISSIVE_HOLD
  32. #define IGNORE_MOD_TAP_INTERRUPT // this makes it possible to do rolling combos (zx) with keys that convert to other keys on hold (z becomes ctrl when you hold it, and when this option isn't enabled, z rapidly followed by x actually sends Ctrl-x. That's bad.)
  33. #define ONESHOT_TAP_TOGGLE 2
  34. /* key combination for command */
  35. #ifdef IS_COMMAND
  36. #undef IS_COMMAND
  37. #endif
  38. #define IS_COMMAND() ( \
  39. keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_LALT)) \
  40. )
  41. #ifdef RGBLIGHT_ENABLE
  42. #define RGB_DI_PIN D3
  43. #define RGBLED_NUM 16 // Number of LEDs
  44. #define RGBLIGHT_ANIMATIONS
  45. #define RGBLIGHT_HUE_STEP 12
  46. #define RGBLIGHT_SAT_STEP 12
  47. #define RGBLIGHT_VAL_STEP 12
  48. #define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2
  49. #define RGBLIGHT_EFFECT_SNAKE_LENGTH 2
  50. #define RGBLIGHT_EFFECT_BREATHE_CENTER 1
  51. #endif // RGBLIGHT_ENABLE
  52. #ifdef AUDIO_ENABLE
  53. #define C6_AUDIO
  54. #define STARTUP_SONG SONG(ZELDA_TREASURE)
  55. #endif
  56. #endif