]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/ergodox_infinity/config.h
[Keyboard] fixed pins for numpad_5x4 layout (#6311)
[qmk_firmware.git] / keyboards / ergodox_infinity / config.h
1 /*
2 Copyright 2015 Jun Wako <wakojun@gmail.com>
3
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.
8
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.
13
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/>.
16 */
17
18 #ifndef INFINITY_ERGODOX_CONFIG_H
19 #define INFINITY_ERGODOX_CONFIG_H
20
21
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
28
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
34
35 #define TAPPING_TOGGLE  1
36
37 /* define if matrix has ghost */
38 //#define MATRIX_HAS_GHOST
39
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.)
42
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
47
48 /* key combination for command */
49 #define IS_COMMAND() ( \
50     get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \
51     get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \
52 )
53
54 /* key matrix size */
55 #define MATRIX_ROWS 18
56 #define MATRIX_COLS 5
57 #define LOCAL_MATRIX_ROWS 9
58
59 /* number of backlight levels */
60 #define BACKLIGHT_LEVELS 3
61
62 #define LED_BRIGHTNESS_LO       100
63 #define LED_BRIGHTNESS_HI       255
64
65 /* define if matrix has ghost */
66 //#define MATRIX_HAS_GHOST
67
68 /* Set 0 if debouncing isn't needed */
69 #define DEBOUNCE    5
70
71 #define SERIAL_LINK_BAUD 562500
72 #define SERIAL_LINK_THREAD_PRIORITY (NORMALPRIO - 1)
73
74 #define VISUALIZER_USER_DATA_SIZE 16
75 /*
76  * Feature disable options
77  *  These options are also useful to firmware size reduction.
78  */
79
80 /* disable debug print */
81 //#define NO_DEBUG
82
83 /* disable print */
84 //#define NO_PRINT
85
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
92
93 #endif