2 Copyright 2015 Jun Wako <wakojun@gmail.com>
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 2 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>.
18 #ifndef INFINITY_ERGODOX_CONFIG_H
19 #define INFINITY_ERGODOX_CONFIG_H
22 /* USB Device descriptor parameter */
23 #define VENDOR_ID 0x1c11
24 #define PRODUCT_ID 0xb04d
25 #define DEVICE_VER 0x0001
26 #define MANUFACTURER Input Club
27 #define PRODUCT Infinity_Ergodox/QMK
29 #define MOUSEKEY_INTERVAL 20
30 #define MOUSEKEY_DELAY 0
31 #define MOUSEKEY_TIME_TO_MAX 60
32 #define MOUSEKEY_MAX_SPEED 7
33 #define MOUSEKEY_WHEEL_DELAY 0
35 #define TAPPING_TOGGLE 1
37 /* define if matrix has ghost */
38 //#define MATRIX_HAS_GHOST
40 #define TAPPING_TERM 200
41 #define IGNORE_MOD_TAP_INTERRUPT // this makes it possible to do rolling combos (zx) with keys that convert to other keys on hold (z becomes ctrl when you hold it, and when this option isn't enabled, z rapidly followed by x actually sends Ctrl-x. That's bad.)
43 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
44 #define LOCKING_SUPPORT_ENABLE
45 /* Locking resynchronize hack */
46 #define LOCKING_RESYNC_ENABLE
48 /* key combination for command */
49 #define IS_COMMAND() ( \
50 keyboard_report->mods == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \
51 keyboard_report->mods == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \
55 #define MATRIX_ROWS 18
57 #define LOCAL_MATRIX_ROWS 9
59 /* number of backlight levels */
60 #define BACKLIGHT_LEVELS 3
62 #define LED_BRIGHTNESS_LO 100
63 #define LED_BRIGHTNESS_HI 255
65 /* define if matrix has ghost */
66 //#define MATRIX_HAS_GHOST
68 /* Set 0 if debouncing isn't needed */
71 #define SERIAL_LINK_BAUD 562500
72 #define SERIAL_LINK_THREAD_PRIORITY (NORMALPRIO - 1)
74 #define VISUALIZER_USER_DATA_SIZE 16
76 * Feature disable options
77 * These options are also useful to firmware size reduction.
80 /* disable debug print */
86 /* disable action features */
87 //#define NO_ACTION_LAYER
88 //#define NO_ACTION_TAPPING
89 //#define NO_ACTION_ONESHOT
90 //#define NO_ACTION_MACRO
91 //#define NO_ACTION_FUNCTION