1 #ifndef ERGODOX_ERGODONE_CONFIG_H
2 #define ERGODOX_ERGODONE_CONFIG_H
4 #include "config_common.h"
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
16 #define MATRIX_COLS 14
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
24 #define TAPPING_TOGGLE 1
26 /* define if matrix has ghost */
27 //#define MATRIX_HAS_GHOST
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.)
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
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)) \
43 /* number of backlight levels */
44 #define BACKLIGHT_LEVELS 3
46 #define LED_BRIGHTNESS_LO 15
47 #define LED_BRIGHTNESS_HI 255
49 /* fix space cadet rollover issue */
50 #define DISABLE_SPACE_CADET_ROLLOVER
52 /* Set 0 if debouncing isn't needed */
55 #define PREVENT_STUCK_MODIFIERS
57 #define USB_MAX_POWER_CONSUMPTION 500
60 * Feature disable options
61 * These options are also useful to firmware size reduction.
64 /* disable debug print */
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