]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/viterbi/keymaps/drashna/config.h
a1e361e346de72b43d724c7f473acc636517b640
[qmk_firmware.git] / keyboards / viterbi / keymaps / drashna / config.h
1 /*
2 Copyright 2017 Danny Nguyen <danny@hexwire.com>
3
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 2 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 GNU General Public License for more details.
13
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
18 #pragma once
19
20 #ifdef RGBLIGHT_ENABLE
21 #undef RGBLED_NUM
22 #define RGBLIGHT_ANIMATIONS
23 #define RGBLED_NUM 16
24 #define RGBLIGHT_HUE_STEP 8
25 #define RGBLIGHT_SAT_STEP 8
26 #define RGBLIGHT_VAL_STEP 8
27 #define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2
28 #define RGBLIGHT_EFFECT_SNAKE_LENGTH 2
29 #define RGBLIGHT_EFFECT_BREATHE_CENTER 1
30 #define RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL 300
31 #define RGBLIGHT_EFFECT_CHRISTMAS_STEP 1
32 #endif // RGBLIGHT_ENABLE
33
34
35 #undef LOCKING_SUPPORT_ENABLE
36 #undef LOCKING_RESYNC_ENABLE
37
38
39 /* disable action features */
40 //#define NO_ACTION_LAYER
41 //#define NO_ACTION_TAPPING
42 //#define NO_ACTION_ONESHOT
43 //#define NO_ACTION_MACRO
44 //#define NO_ACTION_FUNCTION
45
46 #undef PRODUCT
47 #define PRODUCT   Drashnas Viterbi Macro Pad
48
49 #define USE_I2C
50
51 #ifdef AUDIO_ENABLE
52 #define C6_AUDIO
53 #define NO_MUSIC_MODE
54 #endif
55
56 #define STRICT_LAYER_RELEASE
57
58 #define LAYOUT_ortho_5x7( \
59     L00, L01, L02, L03, L04, L05, L06, \
60     L10, L11, L12, L13, L14, L15, L16, \
61     L20, L21, L22, L23, L24, L25, L26, \
62     L30, L31, L32, L33, L34, L35, L36, \
63     L40, L41, L42, L43, L44, L45, L46 \
64     ) \
65     LAYOUT( \
66         L00, L01, L02, L03, L04, L05, L06, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
67         L10, L11, L12, L13, L14, L15, L16, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
68         L20, L21, L22, L23, L24, L25, L26, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
69         L30, L31, L32, L33, L34, L35, L36, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
70         L40, L41, L42, L43, L44, L45, L46, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO \
71     )
72
73 #define QMK_ESC_OUTPUT F5 // usually COL
74 #define QMK_ESC_INPUT D4 // usually ROW
75 #define QMK_LED B0
76 #define QMK_SPEAKER C6