]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/viterbi/keymaps/drashna/config.h
Update to drashna keymaps and userspace - RGB edition (#4143)
[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 RGBLED_NUM 16
23
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 #endif // RGBLIGHT_ENABLE
31
32
33 #undef LOCKING_SUPPORT_ENABLE
34 #undef LOCKING_RESYNC_ENABLE
35
36
37 /* disable action features */
38 //#define NO_ACTION_LAYER
39 //#define NO_ACTION_TAPPING
40 //#define NO_ACTION_ONESHOT
41 //#define NO_ACTION_MACRO
42 //#define NO_ACTION_FUNCTION
43
44 #undef PRODUCT
45 #define PRODUCT   Drashnas Viterbi Macro Pad
46
47 #define USE_I2C
48
49 #ifdef AUDIO_ENABLE
50 #define C6_AUDIO
51 #define NO_MUSIC_MODE
52 #endif
53
54 #define STRICT_LAYER_RELEASE
55
56 #define LAYOUT_ortho_5x7( \
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     LAYOUT( \
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
71 #define QMK_ESC_OUTPUT F5 // usually COL
72 #define QMK_ESC_INPUT D4 // usually ROW
73 #define QMK_LED B0
74 #define QMK_SPEAKER C6