]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/laptreus/config.h
[Keyboard] fixed pins for numpad_5x4 layout (#6311)
[qmk_firmware.git] / keyboards / laptreus / config.h
1 /*
2 Copyright 2019 Chuck "@vosechu" Lauer Vose <vosechu@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
24 #define VENDOR_ID       0x1209 // pid.codes Vendor ID
25 #define PRODUCT_ID      0xA1F1 // FIXME: Need to send PR to pid.codes to make this official
26 #define DEVICE_VER      0x0001
27 #define MANUFACTURER    Vosechu
28 #define PRODUCT         Laptreus
29 #define DESCRIPTION     keyboard
30
31 /* key matrix size */
32 #define MATRIX_ROWS 5
33 #define MATRIX_COLS 10
34
35 #define MATRIX_ROW_PINS { F7, F6, F5, F1, F4 }
36 #define MATRIX_COL_PINS { D6, B7, B6, D7, C6, D1, D0, D3, D2, F0 }
37 #define UNUSED_PINS     { }
38
39 /* COL2ROW or ROW2COL */
40 #define DIODE_DIRECTION ROW2COL
41
42 /* define if matrix has ghost */
43 //#define MATRIX_HAS_GHOST
44
45 /* number of backlight levels */
46 // #define BACKLIGHT_LEVELS 3
47
48 /* Set 0 if debouncing isn't needed */
49 #define DEBOUNCE 5
50
51 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
52 #define LOCKING_SUPPORT_ENABLE
53 /* Locking resynchronize hack */
54 #define LOCKING_RESYNC_ENABLE
55
56 /*
57  * Feature disable options
58  *  These options are also useful to firmware size reduction.
59  */
60
61 /* disable debug print */
62 // #define NO_DEBUG
63
64 /* disable print */
65 // #define NO_PRINT
66
67 /* disable action features */
68 // #define NO_ACTION_LAYER
69 // #define NO_ACTION_TAPPING
70 // #define NO_ACTION_ONESHOT
71 // #define NO_ACTION_MACRO
72 // #define NO_ACTION_FUNCTION