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/>.
24 #include "../../config.h"
26 /* Use I2C or Serial */
30 //#define USE_MATRIX_I2C
32 /* Select hand configuration */
35 // #define MASTER_RIGHT
38 // Helix keyboard OLED support
41 /* Select rows configuration */
46 // Rows are doubled-up
50 #define MATRIX_ROW_PINS { D4, C6, D7, E6 }
52 #define MATRIX_ROWS 10
54 #define MATRIX_ROW_PINS { D4, C6, D7, E6, B4 }
56 #error "expected HELIX_ROWS 4 or 5"
59 #define USE_SERIAL_PD2
61 #define PREVENT_STUCK_MODIFIERS
62 #define TAPPING_FORCE_HOLD
63 #define TAPPING_TERM 100
67 #define RGBLIGHT_ANIMATIONS
68 // Helix keyboard : see ./rules.mk: RGBLIGHT_ENABLE = yes or no
69 // Helix keyboard : RGBLED_NUM 6 or 32
72 #define RGBLIGHT_LIMIT_VAL 255
75 #define RGBLIGHT_LIMIT_VAL 120
77 #define RGBLIGHT_LIMIT_VAL 130
80 #define RGBLIGHT_HUE_STEP 10
81 #define RGBLIGHT_SAT_STEP 17
82 #define RGBLIGHT_VAL_STEP 17
85 #ifdef RGBLIGHT_ENABLE
86 // USB_MAX_POWER_CONSUMPTION value for Helix keyboard
87 // 120 RGBoff, OLEDoff
92 #define USB_MAX_POWER_CONSUMPTION 330
94 // fix iPhone and iPad power adapter issue
95 // iOS device need lessthan 100
96 #define USB_MAX_POWER_CONSUMPTION 100