]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/helix/rev2/keymaps/default/config.h
Move rows config to keymap (#2464)
[qmk_firmware.git] / keyboards / helix / rev2 / keymaps / default / 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 #ifndef CONFIG_USER_H
22 #define CONFIG_USER_H
23
24 #include "../../config.h"
25
26 /* Use I2C or Serial */
27
28 #define USE_I2C
29 #define USE_SERIAL
30 //#define USE_MATRIX_I2C
31
32 /* Select hand configuration */
33
34 #define MASTER_LEFT
35 // #define MASTER_RIGHT
36 // #define EE_HANDS
37
38 //#define SSD1306OLED
39
40 /* Select rows configuration */
41 // Rows are 4 or 5
42 #define HELIX_ROWS 5
43
44 /* key matrix size */
45 // Rows are doubled-up
46 #if  HELIX_ROWS == 4
47   #define MATRIX_ROWS 8
48   #define MATRIX_COLS 7
49   #define MATRIX_ROW_PINS { D4, C6, D7, E6 }
50 #elif HELIX_ROWS == 5
51   #define MATRIX_ROWS 10
52   #define MATRIX_COLS 7
53   #define MATRIX_ROW_PINS { D4, C6, D7, E6, B4 }
54 #else
55   #error "expected HELIX_ROWS 4 or 5"
56 #endif
57
58 #define USE_SERIAL_PD2
59
60 #define PREVENT_STUCK_MODIFIERS
61 #define TAPPING_FORCE_HOLD
62 #define TAPPING_TERM 100
63
64
65 #undef RGBLED_NUM
66 #define RGBLIGHT_ANIMATIONS
67 #define RGBLED_NUM 6
68 #define RGBLIGHT_LIMIT_VAL 255
69 #define RGBLIGHT_HUE_STEP 10
70 #define RGBLIGHT_SAT_STEP 17
71 #define RGBLIGHT_VAL_STEP 17
72 #endif