]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/keebio/iris/keymaps/drashna/config.h
dd247a42a7fe1a9b6fdbd8d9a60eb51bc57936e9
[qmk_firmware.git] / keyboards / keebio / iris / keymaps / drashna / config.h
1 /*
2 Copyright 2017 Danny Nguyen <danny@keeb.io>
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 /* Use I2C or Serial, not both */
21
22 #define USE_SERIAL
23 #undef USE_I2C
24
25 /* Select hand configuration */
26
27 // #define MASTER_LEFT
28 // #define MASTER_RIGHT
29 #define EE_HANDS
30
31 #ifdef RGBLIGHT_ENABLE
32 #undef RGBLED_NUM
33 #define RGBLED_NUM 18     // Number of LEDs
34
35 #define RGBLIGHT_HUE_STEP 12
36 #define RGBLIGHT_SAT_STEP 12
37 #define RGBLIGHT_VAL_STEP 12
38 #define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2
39 #define RGBLIGHT_EFFECT_SNAKE_LENGTH 2
40 #define RGBLIGHT_EFFECT_BREATHE_CENTER 1
41
42 #define RGBLIGHT_LIMIT_VAL 225
43 #endif // RGBLIGHT_ENABLE
44
45 #ifdef AUDIO_ENABLE
46 #define C6_AUDIO
47 #ifdef RGBLIGHT_ENABLE
48 #define NO_MUSIC_MODE
49 #endif //RGBLIGHT_ENABLE
50 #endif //AUDIO_ENABLE
51
52 #define QMK_ESC_OUTPUT F6 // usually COL
53 #define QMK_ESC_INPUT D7 // usually ROW
54 #define QMK_LED B0
55 #define QMK_SPEAKER C6
56
57 #undef PRODUCT
58 #ifdef KEYBOARD_iris_rev2
59 #define PRODUCT         Drashna Hacked Iris Rev.2
60 #endif
61
62 #define SHFT_LED1 6
63 #define SHFT_LED2 11
64
65 #define CTRL_LED1 7
66 #define CTRL_LED2 10
67
68 #define ALT_LED1 8
69 #define GUI_LED1 9
70
71 #define BOOTMAGIC_LITE_ROW 4
72 #define BOOTMAGIC_LITE_COLUMN 3