config.h 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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 12
  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. #undef LOCKING_SUPPORT_ENABLE
  31. #undef LOCKING_RESYNC_ENABLE
  32. #ifndef NO_DEBUG
  33. #define NO_DEBUG
  34. #endif // !NO_DEBUG
  35. #ifndef NO_PRINT
  36. #define NO_PRINT
  37. #endif // !NO_PRINT
  38. /* disable action features */
  39. //#define NO_ACTION_LAYER
  40. //#define NO_ACTION_TAPPING
  41. //#define NO_ACTION_ONESHOT
  42. //#define NO_ACTION_MACRO
  43. //#define NO_ACTION_FUNCTION
  44. #undef PRODUCT
  45. #define PRODUCT Drashnas Viterbi Macro Pad
  46. #define USE_I2C
  47. #ifdef AUDIO_ENABLE
  48. #define C6_AUDIO
  49. #define NO_MUSIC_MODE
  50. #endif
  51. #define LAYOUT_ortho_5x7( \
  52. L00, L01, L02, L03, L04, L05, L06, \
  53. L10, L11, L12, L13, L14, L15, L16, \
  54. L20, L21, L22, L23, L24, L25, L26, \
  55. L30, L31, L32, L33, L34, L35, L36, \
  56. L40, L41, L42, L43, L44, L45, L46 \
  57. ) \
  58. LAYOUT( \
  59. L00, L01, L02, L03, L04, L05, L06, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
  60. L10, L11, L12, L13, L14, L15, L16, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
  61. L20, L21, L22, L23, L24, L25, L26, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
  62. L30, L31, L32, L33, L34, L35, L36, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
  63. L40, L41, L42, L43, L44, L45, L46, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO \
  64. )
  65. #endif
  66. #define QMK_ESC_OUTPUT F5 // usually COL
  67. #define QMK_ESC_INPUT D4 // usually ROW
  68. #define QMK_LED B0
  69. #define QMK_SPEAKER C6