]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/handwired/dactyl_promicro/config.h
[Keyboard] Add QMK configurator JSON for Alice PCB (#6397)
[qmk_firmware.git] / keyboards / handwired / dactyl_promicro / 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 #define PRODUCT         Dactyl Ergo(6x6)
23
24 /* key matrix size */
25 // Rows are doubled-up
26 #define MATRIX_ROWS 12
27 #define MATRIX_COLS 6
28
29 // wiring of each half
30 #define MATRIX_COL_PINS { D4, C6, D7, E6, B4, B5 }
31 #define MATRIX_ROW_PINS { F6, F7, B1, B3, B2, B6 }
32
33 /* USB Device descriptor parameter */
34 #define VENDOR_ID       0xFEED
35 #define PRODUCT_ID      0x3060
36 #define DEVICE_VER      0x0001
37 //#define MANUFACTURER    tshort
38 // defined in subfolder
39 #define DESCRIPTION     A split keyboard
40
41 /* mouse config */
42 #define MOUSEKEY_INTERVAL       20
43 #define MOUSEKEY_DELAY          0
44 #define MOUSEKEY_TIME_TO_MAX    60
45 #define MOUSEKEY_MAX_SPEED      7
46 #define MOUSEKEY_WHEEL_DELAY 0
47
48 /* Set 0 if debouncing isn't needed */
49 #define DEBOUNCE 5
50
51 /* serial.c configuration for split keyboard */
52 #define SOFT_SERIAL_PIN D0
53
54 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
55 #define LOCKING_SUPPORT_ENABLE
56 /* Locking resynchronize hack */
57 #define LOCKING_RESYNC_ENABLE
58
59 /* Enables This makes it easier for fast typists to use dual-function keys */
60 #define PERMISSIVE_HOLD
61
62 /* ws2812 RGB LED */
63 #define RGB_DI_PIN D3
64
65 #define RGBLED_NUM 12    // Number of LEDs
66
67 /*
68  * Feature disable options
69  *  These options are also useful to firmware size reduction.
70  */
71
72 /* disable debug print */
73 // #define NO_DEBUG
74
75 /* disable print */
76 // #define NO_PRINT
77
78 /* disable action features */
79 //#define NO_ACTION_LAYER
80 //#define NO_ACTION_TAPPING
81 //#define NO_ACTION_ONESHOT
82 //#define NO_ACTION_MACRO
83 //#define NO_ACTION_FUNCTION