]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/keebio/iris/keymaps/drashna/config.h
[Keymap] Drashna's Feature madness (#6128)
[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 #    undef RGBLED_SPLIT
35 #    define RGBLED_SPLIT { 9, 9 }
36 #    define RGBLIGHT_HUE_STEP 8
37 #    define RGBLIGHT_SAT_STEP 8
38 #    define RGBLIGHT_VAL_STEP 8
39 #    define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2
40 #    define RGBLIGHT_EFFECT_SNAKE_LENGTH 2
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 #ifndef KEYBOARD_keebio_iris_rev3
53 #    define QMK_ESC_OUTPUT F6  // usually COL
54 #    define QMK_ESC_INPUT D7   // usually ROW
55 #    define QMK_LED B0
56 #    define QMK_SPEAKER C6
57 #endif
58
59 #undef PRODUCT
60 #ifdef KEYBOARD_keebio_iris_rev2
61 #    define PRODUCT Drashna Hacked Iris Rev .2
62 #elif defined(KEYBOARD_keebio_iris_rev3)
63 #    define PRODUCT Drashna Hacked Iris Rev .3
64 #endif
65
66 #define SHFT_LED1 6
67 #define SHFT_LED2 11
68
69 #define CTRL_LED1 7
70 #define CTRL_LED2 10
71
72 #define ALT_LED1 8
73 #define GUI_LED1 9
74
75 #define BOOTMAGIC_LITE_ROW 4
76 #define BOOTMAGIC_LITE_COLUMN 3