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/>.
22 /* USB Device descriptor parameter */
23 #define VENDOR_ID 0xFEED
24 #define PRODUCT_ID 0x3060
25 #define DEVICE_VER 0x0001
26 #define MANUFACTURER Yushakobo
27 #define PRODUCT Helix Beta
28 #define DESCRIPTION A split keyboard for the cheap makers
31 #define PREVENT_STUCK_MODIFIERS
32 #define TAPPING_FORCE_HOLD
33 #define TAPPING_TERM 100
35 /* Use I2C or Serial */
38 //#define USE_MATRIX_I2C
40 /* Select hand configuration */
42 // #define MASTER_RIGHT
45 // Helix keyboard OLED support
46 // see ./rules.mk: OLED_ENABLE=yes or no
51 /* Select rows configuration */
53 // #define HELIX_ROWS 5 see ./rules.mk
56 // Rows are doubled-up
59 #define MATRIX_ROW_PINS { D4, C6, D7, E6 }
61 #define MATRIX_ROWS 10
62 #define MATRIX_ROW_PINS { D4, C6, D7, E6, B4 }
65 // wiring of each half
67 #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2 }
68 // #define MATRIX_COL_PINS { B2, B3, B1, F7, F6, F5, F4 } //uncomment this line and comment line above if you need to reverse left-to-right key order
70 /* define if matrix has ghost */
71 //#define MATRIX_HAS_GHOST
73 /* number of backlight levels */
74 // #define BACKLIGHT_LEVELS 3
76 /* Set 0 if debouncing isn't needed */
77 #define DEBOUNCING_DELAY 5
79 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
80 //#define LOCKING_SUPPORT_ENABLE
81 /* Locking resynchronize hack */
82 //#define LOCKING_RESYNC_ENABLE
84 /* key combination for command */
85 #define IS_COMMAND() ( \
86 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
91 #define RGBLIGHT_TIMER
92 //#define RGBLED_NUM 12 // Number of LEDs. see ./keymaps/default/config.h
93 #define ws2812_PORTREG PORTD
94 #define ws2812_DDRREG DDRD
96 // Helix keyboard RGB LED support
97 //#define RGBLIGHT_ANIMATIONS : see ./rules.mk: LED_ANIMATIONS = yes or no
98 // see ./rules.mk: LED_BACK_ENABLE or LED_UNDERGLOW_ENABLE set yes
101 #define RGBLED_NUM 25
103 #define RGBLED_NUM 32
109 #ifndef IOS_DEVICE_ENABLE
111 #define RGBLIGHT_LIMIT_VAL 255
114 #define RGBLIGHT_LIMIT_VAL 130
116 #define RGBLIGHT_LIMIT_VAL 120
119 #define RGBLIGHT_VAL_STEP 17
122 #define RGBLIGHT_LIMIT_VAL 90
125 #define RGBLIGHT_LIMIT_VAL 45
127 #define RGBLIGHT_LIMIT_VAL 35
130 #define RGBLIGHT_VAL_STEP 4
132 #define RGBLIGHT_HUE_STEP 10
133 #define RGBLIGHT_SAT_STEP 17
135 #if defined(RGBLIGHT_ENABLE) && !defined(IOS_DEVICE_ENABLE)
136 // USB_MAX_POWER_CONSUMPTION value for Helix keyboard
137 // 120 RGBoff, OLEDoff
142 #define USB_MAX_POWER_CONSUMPTION 400
144 // fix iPhone and iPad power adapter issue
145 // iOS device need lessthan 100
146 #define USB_MAX_POWER_CONSUMPTION 100
150 * Feature disable options
151 * These options are also useful to firmware size reduction.
154 /* disable debug print */
160 /* disable action features */
161 //#define NO_ACTION_LAYER
162 //#define NO_ACTION_TAPPING
163 //#define NO_ACTION_ONESHOT
164 //#define NO_ACTION_MACRO
165 //#define NO_ACTION_FUNCTION