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 /* USB Device descriptor parameter */
22 #define VENDOR_ID 0xFEED
23 #define PRODUCT_ID 0x3060
24 #define DEVICE_VER 0x0001
25 #define MANUFACTURER RGBKB
26 #define PRODUCT Zygomorph
27 #define DESCRIPTION "RGB, thin, ortholinear"
29 /* Select hand configuration */
33 // Rows are doubled-up
34 #define MATRIX_ROWS 10
35 #define MATRIX_ROW_PINS { F1, F5, F7, B5, B4 }
37 // wiring of each half
39 #define MATRIX_COL_PINS { F4, F6, C7, C6, B6, D4 }
41 #define SOFT_SERIAL_PIN D3
43 #define ENCODERS_PAD_A { D2 }
44 #define ENCODERS_PAD_B { D7 }
46 /* Set 0 if debouncing isn't needed */
51 #ifndef RGBLIGHT_SPLIT_ENABLE
55 #define RGBLED_SPLIT { 30, 30 }
57 #define DRIVER_LED_TOTAL 30
59 #ifdef IOS_DEVICE_ENABLE
60 #define RGBLIGHT_LIMIT_VAL 40
61 #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 40
62 #elif RGBLIGHT_FULL_POWER
63 #define RGBLIGHT_LIMIT_VAL 255
64 #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255
66 #define RGBLIGHT_LIMIT_VAL 120
67 #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150
70 #if defined(RGBLIGHT_ENABLE) && !defined(IOS_DEVICE_ENABLE)
71 // USB_MAX_POWER_CONSUMPTION value for Helix keyboard
72 // 120 RGBoff, OLEDoff
77 #define USB_MAX_POWER_CONSUMPTION 500
79 // fix iPhone and iPad power adapter issue
80 // iOS device need lessthan 100
81 #define USB_MAX_POWER_CONSUMPTION 100
85 * Feature disable options
86 * These options are also useful to firmware size reduction.
89 /* disable debug print */
95 /* disable action features */
96 //#define NO_ACTION_LAYER
97 //#define NO_ACTION_TAPPING
98 //#define NO_ACTION_ONESHOT
99 //#define NO_ACTION_MACRO
100 //#define NO_ACTION_FUNCTION