1 /* Copyright 2018 Maarten Dekkers <maartenwut@gmail.com>
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.
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.
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/>.
19 #include "config_common.h"
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
31 #define MATRIX_COLS 17
34 * Keyboard Matrix Assignments
35 * The KMAC uses a demultiplexer for some of the cols.
36 * See matrix.c for more details.
38 #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }
39 #define MATRIX_COL_PINS { }
43 //#define DIODE_DIRECTION
45 /* number of backlight levels */
46 #define BACKLIGHT_LEVELS 3
47 // #define BACKLIGHT_PIN B7
48 // #define BACKLIGHT_BREATHING
50 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
51 #define DEBOUNCING_DELAY 5