2 Copyright 2012 Jun Wako <wakojun@gmail.com>
3 Copyright 2015 Jack Humbert
4 Copyright 2018 Takuya Urakawa<twitter:@hsgw>
6 This program is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
22 #include "config_common.h"
23 #include <serial_config.h>
25 /* USB Device descriptor parameter
26 VID & PID are lisenced from microchip sublisence program, Don't use other project! */
27 #define VENDOR_ID 0x04D8
28 #define PRODUCT_ID 0xEE60
29 #define DEVICE_VER 0x0001
30 #define MANUFACTURER Dm9Records
31 #define PRODUCT ergoinu
32 #define DESCRIPTION An (Not Portable But Small) Ergonomic split keyboard
34 #define TAPPING_FORCE_HOLD
35 #define TAPPING_TERM 100
39 /* Select hand configuration */
41 // #define MASTER_RIGHT
45 // Rows are doubled-up
46 #define MATRIX_ROWS 10
47 #define MATRIX_ROW_PINS { F6, F7, B1, B3, B2 }
49 // wiring of each half
51 #define MATRIX_COL_PINS { B4, E6, D7, C6, D4, F5, F4 }
53 /* define if matrix has ghost */
54 //#define MATRIX_HAS_GHOST
56 /* number of backlight levels */
57 // #define BACKLIGHT_LEVELS 3
59 /* Set 0 if debouncing isn't needed */
60 #define DEBOUNCING_DELAY 5
62 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
63 //#define LOCKING_SUPPORT_ENABLE
64 /* Locking resynchronize hack */
65 //#define LOCKING_RESYNC_ENABLE
72 #ifndef IOS_DEVICE_ENABLE
74 #define RGBLIGHT_LIMIT_VAL 255
75 #define RGBLIGHT_VAL_STEP 17
78 #define RGBLIGHT_LIMIT_VAL 90
79 #define RGBLIGHT_VAL_STEP 4
82 #define RGBLIGHT_HUE_STEP 10
83 #define RGBLIGHT_SAT_STEP 17
85 #if defined(RGBLIGHT_ENABLE) && !defined(IOS_DEVICE_ENABLE)
86 #define USB_MAX_POWER_CONSUMPTION 500
88 // fix iPhone and iPad power adapter issue
89 // iOS device need lessthan 100
90 #define USB_MAX_POWER_CONSUMPTION 100
94 * Feature disable options
95 * These options are also useful to firmware size reduction.
98 /* disable debug print */
104 /* disable action features */
105 //#define NO_ACTION_LAYER
106 //#define NO_ACTION_TAPPING
107 //#define NO_ACTION_ONESHOT
108 //#define NO_ACTION_MACRO
109 //#define NO_ACTION_FUNCTION