]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/handwired/dactyl_manuform/config.h
Make quantum/split_common/serial.[ch] configurable (#4419)
[qmk_firmware.git] / keyboards / handwired / dactyl_manuform / config.h
1 /*
2 Copyright 2012 Jun Wako <wakojun@gmail.com>
3 Copyright 2015 Jack Humbert
4
5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 2 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program.  If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 #pragma once
20
21 #include "config_common.h"
22
23 /* USB Device descriptor parameter */
24 #define VENDOR_ID       0xFEED
25 #define PRODUCT_ID      0x3060
26 #define DEVICE_VER      0x0001
27 #define MANUFACTURER    tshort
28 // defined in subfolder
29 #define DESCRIPTION     A split keyboard for the cheap makers
30
31 /* mouse config */
32 #define MOUSEKEY_INTERVAL       20
33 #define MOUSEKEY_DELAY          0
34 #define MOUSEKEY_TIME_TO_MAX    60
35 #define MOUSEKEY_MAX_SPEED      7
36 #define MOUSEKEY_WHEEL_DELAY 0
37
38 /* Set 0 if debouncing isn't needed */
39 #define DEBOUNCING_DELAY 5
40
41 /* serial.c configuration for split keyboard */
42 #define SOFT_SERIAL_PIN D0
43
44 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
45 #define LOCKING_SUPPORT_ENABLE
46 /* Locking resynchronize hack */
47 #define LOCKING_RESYNC_ENABLE
48
49 /* key combination for command */
50 #define IS_COMMAND() ( \
51     keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
52 )
53
54 /* Enables This makes it easier for fast typists to use dual-function keys */
55 #define PERMISSIVE_HOLD
56
57 /* ws2812 RGB LED */
58 #define RGB_DI_PIN D3
59
60 #define RGBLED_NUM 12    // Number of LEDs
61
62
63 /*
64  * Feature disable options
65  *  These options are also useful to firmware size reduction.
66  */
67
68 /* disable debug print */
69 // #define NO_DEBUG
70
71 /* disable print */
72 // #define NO_PRINT
73
74 /* disable action features */
75 //#define NO_ACTION_LAYER
76 //#define NO_ACTION_TAPPING
77 //#define NO_ACTION_ONESHOT
78 //#define NO_ACTION_MACRO
79 //#define NO_ACTION_FUNCTION