]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/handwired/dactyl_manuform/config.h
320ce3c482ddf1ff55ff6a061ecbf2fd6b92d3fd
[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 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
42 #define LOCKING_SUPPORT_ENABLE
43 /* Locking resynchronize hack */
44 #define LOCKING_RESYNC_ENABLE
45
46 /* key combination for command */
47 #define IS_COMMAND() ( \
48     keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
49 )
50
51 /* Enables This makes it easier for fast typists to use dual-function keys */
52 #define PERMISSIVE_HOLD
53
54 /* ws2812 RGB LED */
55 #define RGB_DI_PIN D3
56
57 #define RGBLED_NUM 12    // Number of LEDs
58
59
60 /*
61  * Feature disable options
62  *  These options are also useful to firmware size reduction.
63  */
64
65 /* disable debug print */
66 // #define NO_DEBUG
67
68 /* disable print */
69 // #define NO_PRINT
70
71 /* disable action features */
72 //#define NO_ACTION_LAYER
73 //#define NO_ACTION_TAPPING
74 //#define NO_ACTION_ONESHOT
75 //#define NO_ACTION_MACRO
76 //#define NO_ACTION_FUNCTION