]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/viterbi/keymaps/drashna/config.h
[Proposal?] Allow RGB Underglow to turn off when host is idle/asleep (#2104)
[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 #ifndef CONFIG_USER_H
19 #define CONFIG_USER_H
20
21 #include QMK_KEYBOARD_CONFIG_H
22
23
24 #ifdef RGBLIGHT_ENABLE
25 #undef RGBLED_NUM
26 #define RGBLIGHT_ANIMATIONS
27 #define RGBLED_NUM 16
28 #define RGBLIGHT_HUE_STEP 8
29 #define RGBLIGHT_SAT_STEP 8
30 #define RGBLIGHT_VAL_STEP 8
31 #define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2
32 #define RGBLIGHT_EFFECT_SNAKE_LENGTH 2
33 #define RGBLIGHT_EFFECT_BREATHE_CENTER 1
34 #define RGBLIGHT_SLEEP
35 #define RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL 300
36 #define RGBLIGHT_EFFECT_CHRISTMAS_STEP 1
37
38 #endif // RGBLIGHT_ENABLE
39
40 #define TAPPING_TOGGLE  1
41
42 #ifdef AUDIO_ENABLE
43 #define C6_AUDIO
44 #define STARTUP_SONG SONG(IMPERIAL_MARCH)
45 #define GOODBYE_SONG  SONG(SONIC_RING)
46 #endif
47
48 #undef LOCKING_SUPPORT_ENABLE
49 #undef LOCKING_RESYNC_ENABLE
50
51 #ifndef NO_DEBUG
52 #define NO_DEBUG
53 #endif // NO_DEBUG
54
55 /* disable print */
56 #ifndef NO_PRINT
57 #define NO_PRINT
58 #endif // NO_PRINT
59 /* disable action features */
60 //#define NO_ACTION_LAYER
61 //#define NO_ACTION_TAPPING
62 //#define NO_ACTION_ONESHOT
63 //#define NO_ACTION_MACRO
64 //#define NO_ACTION_FUNCTION
65
66 #undef PRODUCT
67 #define PRODUCT   Drashnas Viterbi Macro Pad
68
69 #define USE_I2C
70 #define NO_MUSIC_MODE
71 #define half_KEYMAP( \
72     L00, L01, L02, L03, L04, L05, L06, \
73     L10, L11, L12, L13, L14, L15, L16, \
74     L20, L21, L22, L23, L24, L25, L26, \
75     L30, L31, L32, L33, L34, L35, L36, \
76     L40, L41, L42, L43, L44, L45, L46 \
77     ) \
78     KEYMAP( \
79         L00, L01, L02, L03, L04, L05, L06, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
80         L10, L11, L12, L13, L14, L15, L16, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
81         L20, L21, L22, L23, L24, L25, L26, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
82         L30, L31, L32, L33, L34, L35, L36, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
83         L40, L41, L42, L43, L44, L45, L46, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO \
84     )
85 #endif