aboutsummaryrefslogtreecommitdiff
path: root/keyboards/converter/usb_usb/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/converter/usb_usb/config.h')
-rw-r--r--keyboards/converter/usb_usb/config.h28
1 files changed, 26 insertions, 2 deletions
diff --git a/keyboards/converter/usb_usb/config.h b/keyboards/converter/usb_usb/config.h
index fa059feea..591d80f32 100644
--- a/keyboards/converter/usb_usb/config.h
+++ b/keyboards/converter/usb_usb/config.h
@@ -1,5 +1,5 @@
1/* 1/*
2Copyright 2012 Jun Wako <wakojun@gmail.com> 2Copyright 2017 Balz Guenat <balz.guenat@gmail.com>
3 3
4This program is free software: you can redistribute it and/or modify 4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by 5it under the terms of the GNU General Public License as published by
@@ -18,7 +18,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
18#ifndef CONFIG_H 18#ifndef CONFIG_H
19#define CONFIG_H 19#define CONFIG_H
20 20
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...
24#define CUSTOM_MATRIX 2
21 25
26/* USB Device descriptor parameter */
22#define VENDOR_ID 0xFEED 27#define VENDOR_ID 0xFEED
23#define PRODUCT_ID 0x005B 28#define PRODUCT_ID 0x005B
24#define DEVICE_VER 0x0001 29#define DEVICE_VER 0x0001
@@ -27,13 +32,32 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
27#define DESCRIPTION USB to USB Keyboard Converter with QMK 32#define DESCRIPTION USB to USB Keyboard Converter with QMK
28 33
29 34
30/* matrix size */ 35/* size of virtual matrix */
31#define MATRIX_ROWS 16 36#define MATRIX_ROWS 16
32#define MATRIX_COLS 16 37#define MATRIX_COLS 16
33 38
39/* matrix scanning is done in custom_matrix.cpp */
34#define DIODE_DIRECTION CUSTOM_MATRIX 40#define DIODE_DIRECTION CUSTOM_MATRIX
35 41
36/* key combination for command */ 42/* key combination for command */
37#define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT))) 43#define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)))
38 44
45/*
46 * Feature disable options
47 * These options are also useful to firmware size reduction.
48 */
49
50/* disable debug print */
51//#define NO_DEBUG
52
53/* disable print */
54//#define NO_PRINT
55
56/* disable action features */
57//#define NO_ACTION_LAYER
58//#define NO_ACTION_TAPPING
59//#define NO_ACTION_ONESHOT
60//#define NO_ACTION_MACRO
61//#define NO_ACTION_FUNCTION
62
39#endif 63#endif