2 Copyright 2017 Balz Guenat <balz.guenat@gmail.com>
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.
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.
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/>.
21 // do not #include "config_common.h" because the pin names conflict with the USB HID code.
22 // CUSTOM_MATRIX is defined it that file, though, and we need it, so we define it ourselves.
23 // It's a hack, yeah...
25 #define CUSTOM_MATRIX 2
27 /* USB Device descriptor parameter */
28 #define VENDOR_ID 0xFEED
29 #define PRODUCT_ID 0x005B
30 #define DEVICE_VER 0x0001
31 #define MANUFACTURER QMK
32 #define PRODUCT QMK USB-USB Converter
33 #define DESCRIPTION USB to USB Keyboard Converter with QMK
36 /* size of virtual matrix */
37 #define MATRIX_ROWS 16
38 #define MATRIX_COLS 16
40 /* matrix scanning is done in custom_matrix.cpp */
41 #define DIODE_DIRECTION CUSTOM_MATRIX
43 /* key combination for command */
44 #define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)))
47 * Feature disable options
48 * These options are also useful to firmware size reduction.
51 /* disable debug print */
57 /* disable action features */
58 //#define NO_ACTION_LAYER
59 //#define NO_ACTION_TAPPING
60 //#define NO_ACTION_ONESHOT
61 //#define NO_ACTION_MACRO
62 //#define NO_ACTION_FUNCTION