config.h 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. #pragma once
  15. #ifdef RGBLIGHT_ENABLE
  16. #undef RGBLED_NUM
  17. #define RGBLED_NUM 16
  18. #define RGBLIGHT_HUE_STEP 8
  19. #define RGBLIGHT_SAT_STEP 8
  20. #define RGBLIGHT_VAL_STEP 8
  21. #define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2
  22. #define RGBLIGHT_EFFECT_SNAKE_LENGTH 2
  23. #define RGBLIGHT_EFFECT_BREATHE_CENTER 1
  24. #endif // RGBLIGHT_ENABLE
  25. #undef LOCKING_SUPPORT_ENABLE
  26. #undef LOCKING_RESYNC_ENABLE
  27. /* disable action features */
  28. //#define NO_ACTION_LAYER
  29. //#define NO_ACTION_TAPPING
  30. //#define NO_ACTION_ONESHOT
  31. //#define NO_ACTION_MACRO
  32. //#define NO_ACTION_FUNCTION
  33. #undef PRODUCT
  34. #define PRODUCT Drashnas Viterbi Macro Pad
  35. #define USE_I2C
  36. #ifdef AUDIO_ENABLE
  37. #define C6_AUDIO
  38. #define NO_MUSIC_MODE
  39. #endif
  40. #define STRICT_LAYER_RELEASE
  41. #define LAYOUT_ortho_5x7( \
  42. L00, L01, L02, L03, L04, L05, L06, \
  43. L10, L11, L12, L13, L14, L15, L16, \
  44. L20, L21, L22, L23, L24, L25, L26, \
  45. L30, L31, L32, L33, L34, L35, L36, \
  46. L40, L41, L42, L43, L44, L45, L46 \
  47. ) \
  48. LAYOUT( \
  49. L00, L01, L02, L03, L04, L05, L06, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
  50. L10, L11, L12, L13, L14, L15, L16, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
  51. L20, L21, L22, L23, L24, L25, L26, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
  52. L30, L31, L32, L33, L34, L35, L36, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
  53. L40, L41, L42, L43, L44, L45, L46, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO \
  54. )
  55. #define QMK_ESC_OUTPUT F5 // usually COL
  56. #define QMK_ESC_INPUT D4 // usually ROW
  57. #define QMK_LED B0
  58. #define QMK_SPEAKER C6