]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/ergodone/config.h
Add terminus_mini keyboard and nyquist/DivergeJM layout (#1851)
[qmk_firmware.git] / keyboards / ergodone / config.h
1 #ifndef ERGODOX_ERGODONE_CONFIG_H
2 #define ERGODOX_ERGODONE_CONFIG_H
3
4 #include "config_common.h"
5
6 /* USB Device descriptor parameter */
7 #define VENDOR_ID       0xFEED
8 #define PRODUCT_ID      0x1307
9 #define DEVICE_VER      0x0001
10 #define MANUFACTURER    ErgoDone
11 #define PRODUCT         ErgoDone
12 #define DESCRIPTION     QMK keyboard firmware for ErgoDone
13
14 /* key matrix size */
15 #define MATRIX_ROWS 6
16 #define MATRIX_COLS 14
17
18 #define MOUSEKEY_INTERVAL       20
19 #define MOUSEKEY_DELAY          0
20 #define MOUSEKEY_TIME_TO_MAX    60
21 #define MOUSEKEY_MAX_SPEED      7
22 #define MOUSEKEY_WHEEL_DELAY 0
23
24 #define TAPPING_TOGGLE  1
25
26 /* define if matrix has ghost */
27 //#define MATRIX_HAS_GHOST
28
29 #define TAPPING_TERM    200
30 #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.)
31
32 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
33 #define LOCKING_SUPPORT_ENABLE
34 /* Locking resynchronize hack */
35 #define LOCKING_RESYNC_ENABLE
36
37 /* key combination for command */
38 #define IS_COMMAND() ( \
39     keyboard_report->mods == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \
40     keyboard_report->mods == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \
41 )
42
43 /* number of backlight levels */
44 #define BACKLIGHT_LEVELS 3
45
46 #define LED_BRIGHTNESS_LO       15
47 #define LED_BRIGHTNESS_HI       255
48
49 /* fix space cadet rollover issue */
50 #define DISABLE_SPACE_CADET_ROLLOVER
51
52 /* Set 0 if debouncing isn't needed */
53 #define DEBOUNCE    5
54
55 #define PREVENT_STUCK_MODIFIERS
56
57 #define USB_MAX_POWER_CONSUMPTION 500
58
59 /*
60  * Feature disable options
61  *  These options are also useful to firmware size reduction.
62  */
63
64 /* disable debug print */
65 // #define NO_DEBUG
66
67 /* disable print */
68 // #define NO_PRINT
69
70 /* disable action features */
71 //#define NO_ACTION_LAYER
72 //#define NO_ACTION_TAPPING
73 //#define NO_ACTION_ONESHOT
74 //#define NO_ACTION_MACRO
75 //#define NO_ACTION_FUNCTION
76 //#define DEBUG_MATRIX_SCAN_RATE
77
78 #endif