2 Copyright 2012 Jun Wako <wakojun@gmail.com>
3 Copyright 2015 Jack Humbert
5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.
21 #include "config_common.h"
23 #define TAPPING_TERM 150
25 /* Select hand configuration */
26 #define SOFT_SERIAL_PIN D3
30 // Rows are doubled-up
31 #define MATRIX_ROWS 12
32 #define MATRIX_ROW_PINS { C6, B6, B5, B4, D7, E6}
34 // wiring of each half
36 #define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, C7 }
39 #define NUMBER_OF_ENCODERS 1
40 #define ENCODERS_PAD_A { D2 }
41 #define ENCODERS_PAD_B { D6 }
43 /* Set 0 if debouncing isn't needed */
49 #ifdef IOS_DEVICE_ENABLE
50 #define RGBLIGHT_LIMIT_VAL 40
51 #elif RGBLIGHT_FULL_POWER
52 #define RGBLIGHT_LIMIT_VAL 255
54 #define RGBLIGHT_LIMIT_VAL 120
56 #define RGB_MATRIX_MAXIMUM_BRIGHTNESS RGBLIGHT_LIMIT_VAL
58 #define LED_HITS_TO_REMEMBER 5
60 #define RGBLIGHT_ANIMATIONS
62 #if defined(RGBLIGHT_ENABLE) && !defined(IOS_DEVICE_ENABLE)
63 // USB_MAX_POWER_CONSUMPTION value for Helix keyboard
64 // 120 RGBoff, OLEDoff
69 #define USB_MAX_POWER_CONSUMPTION 500
71 // fix iPhone and iPad power adapter issue
72 // iOS device need lessthan 100
73 #define USB_MAX_POWER_CONSUMPTION 100
77 * Feature disable options
78 * These options are also useful to firmware size reduction.
81 /* disable debug print */
87 /* disable action features */
88 //#define NO_ACTION_LAYER
89 //#define NO_ACTION_TAPPING
90 //#define NO_ACTION_ONESHOT
91 //#define NO_ACTION_MACRO
92 //#define NO_ACTION_FUNCTION