]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/crkbd/keymaps/drashna/config.h
[Keymap] Update to Drashna Keymaps (#5594)
[qmk_firmware.git] / keyboards / crkbd / keymaps / drashna / config.h
1 /*
2 This is the c configuration file for the keymap
3
4 Copyright 2012 Jun Wako <wakojun@gmail.com>
5 Copyright 2015 Jack Humbert
6
7 This program is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 2 of the License, or
10 (at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program.  If not, see <http://www.gnu.org/licenses/>.
19 */
20
21 #pragma once
22
23
24 /* Select hand configuration */
25
26 // #define MASTER_LEFT
27 // #define MASTER_RIGHT
28 #define EE_HANDS
29
30 // #define SSD1306OLED
31
32 #define USE_SERIAL_PD2
33
34 // #define TAPPING_FORCE_HOLD
35 // #define TAPPING_TERM 100
36
37 #ifdef RGBLIGHT_ENABLE
38 #undef RGBLED_NUM
39 #define RGBLED_NUM 27
40
41 #define RGBLIGHT_HUE_STEP 8
42 #define RGBLIGHT_SAT_STEP 8
43 #define RGBLIGHT_VAL_STEP 8
44 #define RGBLIGHT_LIMIT_VAL 100
45 #endif
46
47 #ifdef AUDIO_ENABLE
48 #define B6_AUDIO
49 // #define NO_MUSIC_MODE
50 #endif
51
52 #undef PRODUCT
53 #define PRODUCT Drashna Hacked Corne Keyboard
54
55 #define OLED_FONT_H "keyboards/crkbd/keymaps/drashna/glcdfont.c"
56 // #define OLED_FONT_WIDTH 5
57 // #define OLED_FONT_HEIGHT 7
58
59 #define TAPPING_TERM_PER_KEY