]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/crkbd/keymaps/drashna/config.h
[Keymap] Drashna's Feature madness (#6128)
[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 /* Select hand configuration */
24
25 // #define MASTER_LEFT
26 // #define MASTER_RIGHT
27 #define EE_HANDS
28
29 #undef USE_I2C
30 #undef 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 5
44 #    define RGBLIGHT_LIMIT_VAL 150
45 #endif
46
47 #ifdef RGB_MATRIX_ENABLE
48 #    define RGB_MATRIX_KEYPRESSES  // reacts to keypresses
49 // #   define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
50 // #   define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
51 #    define RGB_DISABLE_WHEN_USB_SUSPENDED true  // turn off effects when suspended
52 // #   define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness)
53 // #   define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness)
54 #    define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150  // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255
55 #    define RGB_MATRIX_HUE_STEP 8
56 #    define RGB_MATRIX_SAT_STEP 8
57 #    define RGB_MATRIX_VAL_STEP 5
58 #    define RGB_MATRIX_SPD_STEP 10
59 #endif
60
61 #ifdef AUDIO_ENABLE
62 #    define B6_AUDIO
63 // #define NO_MUSIC_MODE
64 #endif
65
66 #undef PRODUCT
67 #define PRODUCT Drashna Hacked Corne Keyboard
68
69 #define OLED_FONT_H "keyboards/crkbd/keymaps/drashna/glcdfont.c"
70 // #define OLED_FONT_WIDTH 5
71 // #define OLED_FONT_HEIGHT 7
72
73 #define OLED_DISABLE_TIMEOUT
74 #define TAPPING_TERM_PER_KEY