config.h 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /*
  2. Copyright 2017 Danny Nguyen <danny@hexwire.com>
  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. #ifndef CONFIG_USER_H
  15. #define CONFIG_USER_H
  16. #include QMK_KEYBOARD_CONFIG_H
  17. #ifdef RGBLIGHT_ENABLE
  18. #undef RGBLED_NUM
  19. #define RGBLIGHT_ANIMATIONS
  20. #define RGBLED_NUM 16
  21. #define RGBLIGHT_HUE_STEP 8
  22. #define RGBLIGHT_SAT_STEP 8
  23. #define RGBLIGHT_VAL_STEP 8
  24. #define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2
  25. #define RGBLIGHT_EFFECT_SNAKE_LENGTH 2
  26. #define RGBLIGHT_EFFECT_BREATHE_CENTER 1
  27. #define RGBLIGHT_SLEEP
  28. #define RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL 300
  29. #define RGBLIGHT_EFFECT_CHRISTMAS_STEP 1
  30. #endif // RGBLIGHT_ENABLE
  31. #define TAPPING_TOGGLE 1
  32. #ifdef AUDIO_ENABLE
  33. #define C6_AUDIO
  34. #define STARTUP_SONG SONG(IMPERIAL_MARCH)
  35. #define GOODBYE_SONG SONG(SONIC_RING)
  36. #endif
  37. #undef LOCKING_SUPPORT_ENABLE
  38. #undef LOCKING_RESYNC_ENABLE
  39. #ifndef NO_DEBUG
  40. #define NO_DEBUG
  41. #endif // NO_DEBUG
  42. /* disable print */
  43. #ifndef NO_PRINT
  44. #define NO_PRINT
  45. #endif // NO_PRINT
  46. /* disable action features */
  47. //#define NO_ACTION_LAYER
  48. //#define NO_ACTION_TAPPING
  49. //#define NO_ACTION_ONESHOT
  50. //#define NO_ACTION_MACRO
  51. //#define NO_ACTION_FUNCTION
  52. #undef PRODUCT
  53. #define PRODUCT Drashnas Viterbi Macro Pad
  54. #define USE_I2C
  55. #define NO_MUSIC_MODE
  56. #define half_KEYMAP( \
  57. L00, L01, L02, L03, L04, L05, L06, \
  58. L10, L11, L12, L13, L14, L15, L16, \
  59. L20, L21, L22, L23, L24, L25, L26, \
  60. L30, L31, L32, L33, L34, L35, L36, \
  61. L40, L41, L42, L43, L44, L45, L46 \
  62. ) \
  63. KEYMAP( \
  64. L00, L01, L02, L03, L04, L05, L06, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
  65. L10, L11, L12, L13, L14, L15, L16, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
  66. L20, L21, L22, L23, L24, L25, L26, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
  67. L30, L31, L32, L33, L34, L35, L36, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
  68. L40, L41, L42, L43, L44, L45, L46, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO \
  69. )
  70. #endif