]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/massdrop/alt67/config.h
move massdrop boards into its own directory for configurator visibility
[qmk_firmware.git] / keyboards / massdrop / alt67 / config.h
1 /*
2 Copyright 2015 Jun Wako <wakojun@gmail.com>
3
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 2 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program.  If not, see <http://www.gnu.org/licenses/>.
16 */
17
18 #pragma once
19
20 #include "config_common.h"
21
22 /* USB Device descriptor parameter */
23 #define VENDOR_ID           0x04D8
24 #define PRODUCT_ID          0xEED3
25 #define DEVICE_VER          0x0101
26
27 #define MANUFACTURER        "Massdrop Inc."
28 #define PRODUCT             "ALT67 Keyboard"
29 #define SERIAL_NUM          "Unavailable"
30
31 /* key matrix size */
32 #define MATRIX_ROWS 5
33 #define MATRIX_COLS 15
34
35 #define PA 0
36 #define PB 1
37
38 #define MATRIX_ROW_PORTS PA, PA, PA, PA, PA
39 #define MATRIX_ROW_PINS   0,  1,  2,  3,  4
40
41 #define MATRIX_COL_PORTS PB, PB, PB, PB, PB, PB, PB, PB, PB, PB, PA, PA, PA, PA, PA
42 #define MATRIX_COL_PINS   4,  5,  6,  7,  8,  9, 10, 11, 12, 13,  5,  6,  7, 10, 11
43
44 /* Print boot debug codes using debug LED when M28 and M30 shorted */
45 #define DEBUG_BOOT_TRACING
46
47 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
48 #define DEBOUNCING_DELAY 5
49
50 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
51 //#define LOCKING_SUPPORT_ENABLE
52 /* Locking resynchronize hack */
53 //#define LOCKING_RESYNC_ENABLE
54
55 /* key combination for command */
56 #define IS_COMMAND() ( \
57     keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
58 )
59
60 /* Force boot in NKRO mode */
61 //#define FORCE_NKRO
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