2 This is the c configuration file for the keymap
4 Copyright 2012 Jun Wako <wakojun@gmail.com>
5 Copyright 2015 Jack Humbert
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.
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.
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/>.
23 /* Select hand configuration */
25 // #define MASTER_LEFT
26 // #define MASTER_RIGHT
32 #define USE_SERIAL_PD2
34 // #define TAPPING_FORCE_HOLD
35 // #define TAPPING_TERM 100
37 #ifdef RGBLIGHT_ENABLE
39 # define RGBLED_NUM 27
41 # define RGBLIGHT_HUE_STEP 8
42 # define RGBLIGHT_SAT_STEP 8
43 # define RGBLIGHT_VAL_STEP 5
44 # define RGBLIGHT_LIMIT_VAL 150
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
63 // #define NO_MUSIC_MODE
67 #define PRODUCT Drashna Hacked Corne Keyboard
69 #define OLED_FONT_H "keyboards/crkbd/keymaps/drashna/glcdfont.c"
70 // #define OLED_FONT_WIDTH 5
71 // #define OLED_FONT_HEIGHT 7
73 #define OLED_DISABLE_TIMEOUT
74 #define TAPPING_TERM_PER_KEY