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 NUMBER_OF_ENCODERS 1
44 #define ENCODERS_PAD_A { D2 }
45 #define ENCODERS_PAD_B { D7 }
47 /* Set 0 if debouncing isn't needed */
48 #define DEBOUNCING_DELAY 5
52 #ifndef RGBLIGHT_SPLIT_ENABLE
56 #define RGBLED_SPLIT { 30, 30 }
58 #define DRIVER_LED_TOTAL 30
60 #ifdef IOS_DEVICE_ENABLE
61 #define RGBLIGHT_LIMIT_VAL 40
62 #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 40
63 #elif RGBLIGHT_FULL_POWER
64 #define RGBLIGHT_LIMIT_VAL 255
65 #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255
67 #define RGBLIGHT_LIMIT_VAL 120
68 #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150
71 #if defined(RGBLIGHT_ENABLE) && !defined(IOS_DEVICE_ENABLE)
72 // USB_MAX_POWER_CONSUMPTION value for Helix keyboard
73 // 120 RGBoff, OLEDoff
78 #define USB_MAX_POWER_CONSUMPTION 500
80 // fix iPhone and iPad power adapter issue
81 // iOS device need lessthan 100
82 #define USB_MAX_POWER_CONSUMPTION 100
86 * Feature disable options
87 * These options are also useful to firmware size reduction.
90 /* disable debug print */
96 /* disable action features */
97 //#define NO_ACTION_LAYER
98 //#define NO_ACTION_TAPPING
99 //#define NO_ACTION_ONESHOT
100 //#define NO_ACTION_MACRO
101 //#define NO_ACTION_FUNCTION