]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/kmini/config.h
[Keyboard] Snagpad Configurator bugfix and readme refactor (#6381)
[qmk_firmware.git] / keyboards / kmini / config.h
1 /* Copyright 2018 Maarten Dekkers <maartenwut@gmail.com>
2  *
3  * This program is free software: you can redistribute it and/or modify
4  * it under the terms of the GNU General Public License as published by
5  * the Free Software Foundation, either version 2 of the License, or
6  * (at your option) any later version.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
15  */
16 #ifndef CONFIG_H
17 #define CONFIG_H
18
19 #include "config_common.h"
20
21 /* USB Device descriptor parameter */
22 #define VENDOR_ID       0xFEED
23 #define PRODUCT_ID      0x6050
24 #define DEVICE_VER      0x0104
25 #define MANUFACTURER    Revo
26 #define PRODUCT         KMAC Kmini
27 #define DESCRIPTION     QMK keyboard firmware for Revo KMAC Mini
28
29 /* key matrix size */
30 #define MATRIX_ROWS 5
31 #define MATRIX_COLS 17
32
33 /*
34  * Keyboard Matrix Assignments
35  * The KMAC uses a demultiplexer for some of the cols.
36  * See matrix.c for more details.
37 */
38 #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }
39 #define MATRIX_COL_PINS { }
40 #define UNUSED_PINS
41
42 /* COL2ROW, ROW2COL*/
43 //#define DIODE_DIRECTION
44
45 /* number of backlight levels */
46 #define BACKLIGHT_LEVELS 3
47 // #define BACKLIGHT_PIN B7
48 // #define BACKLIGHT_BREATHING
49
50 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
51 #define DEBOUNCE 5
52
53 #endif