]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/keebio/iris/keymaps/drashna/config.h
1a937b4b7c91c6e5c6d943c701453320ae35c539
[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 #define 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 #   define RGBLED_SPLIT { 9, 9 }
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
41 #   define RGBLIGHT_LIMIT_VAL 225
42 #endif // RGBLIGHT_ENABLE
43
44 #ifdef AUDIO_ENABLE
45 #   define C6_AUDIO
46 #   ifdef RGBLIGHT_ENABLE
47 #       define NO_MUSIC_MODE
48 #   endif //RGBLIGHT_ENABLE
49 #endif //AUDIO_ENABLE
50
51 #define QMK_ESC_OUTPUT F6 // usually COL
52 #define QMK_ESC_INPUT D7 // usually ROW
53 #define QMK_LED B0
54 #define QMK_SPEAKER C6
55
56 #undef PRODUCT
57 #ifdef KEYBOARD_keebio_iris_rev2
58 #   define PRODUCT         Drashna Hacked Iris Rev.2
59 #endif
60
61 #define SHFT_LED1 6
62 #define SHFT_LED2 11
63
64 #define CTRL_LED1 7
65 #define CTRL_LED2 10
66
67 #define ALT_LED1 8
68 #define GUI_LED1 9
69
70 #define BOOTMAGIC_LITE_ROW 4
71 #define BOOTMAGIC_LITE_COLUMN 3