config.h 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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_EFFECT_CHRISTMAS_INTERVAL 300
  28. #define RGBLIGHT_EFFECT_CHRISTMAS_STEP 1
  29. #endif // RGBLIGHT_ENABLE
  30. #define TAPPING_TOGGLE 1
  31. #ifdef AUDIO_ENABLE
  32. #define C6_AUDIO
  33. #define STARTUP_SONG SONG(IMPERIAL_MARCH)
  34. #define GOODBYE_SONG SONG(SONIC_RING)
  35. #endif
  36. #undef LOCKING_SUPPORT_ENABLE
  37. #undef LOCKING_RESYNC_ENABLE
  38. #ifndef NO_DEBUG
  39. #define NO_DEBUG
  40. #endif // NO_DEBUG
  41. /* disable print */
  42. #ifndef NO_PRINT
  43. #define NO_PRINT
  44. #endif // NO_PRINT
  45. /* disable action features */
  46. //#define NO_ACTION_LAYER
  47. //#define NO_ACTION_TAPPING
  48. //#define NO_ACTION_ONESHOT
  49. //#define NO_ACTION_MACRO
  50. //#define NO_ACTION_FUNCTION
  51. #undef PRODUCT
  52. #define PRODUCT Drashnas Viterbi Macro Pad
  53. #define USE_I2C
  54. #define NO_MUSIC_MODE
  55. #define half_KEYMAP( \
  56. L00, L01, L02, L03, L04, L05, L06, \
  57. L10, L11, L12, L13, L14, L15, L16, \
  58. L20, L21, L22, L23, L24, L25, L26, \
  59. L30, L31, L32, L33, L34, L35, L36, \
  60. L40, L41, L42, L43, L44, L45, L46 \
  61. ) \
  62. KEYMAP( \
  63. L00, L01, L02, L03, L04, L05, L06, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
  64. L10, L11, L12, L13, L14, L15, L16, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
  65. L20, L21, L22, L23, L24, L25, L26, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
  66. L30, L31, L32, L33, L34, L35, L36, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
  67. L40, L41, L42, L43, L44, L45, L46, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO \
  68. )
  69. #endif