aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/meishi/config.h5
-rw-r--r--keyboards/scarletbandana/config.h10
-rw-r--r--keyboards/sentraq/number_pad/config.h5
-rw-r--r--tmk_core/protocol/usb_hid/test/config.h12
4 files changed, 2 insertions, 30 deletions
diff --git a/keyboards/meishi/config.h b/keyboards/meishi/config.h
index cbc22476d..6c712e2ad 100644
--- a/keyboards/meishi/config.h
+++ b/keyboards/meishi/config.h
@@ -104,11 +104,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
104 * 104 *
105 */ 105 */
106 106
107/* key combination for magic key command */
108#define IS_COMMAND() ( \
109 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
110)
111
112/* control how magic key switches layers */ 107/* control how magic key switches layers */
113//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true 108//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true
114//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true 109//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true
diff --git a/keyboards/scarletbandana/config.h b/keyboards/scarletbandana/config.h
index 7716813dd..74443b3f8 100644
--- a/keyboards/scarletbandana/config.h
+++ b/keyboards/scarletbandana/config.h
@@ -15,8 +15,7 @@ You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>. 15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/ 16*/
17 17
18#ifndef CONFIG_H 18#pragma once
19#define CONFIG_H
20 19
21#include "config_common.h" 20#include "config_common.h"
22 21
@@ -54,10 +53,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
54#endif 53#endif
55 54
56#define DEBOUNCING_DELAY 5 55#define DEBOUNCING_DELAY 5
57
58/* key combination for command */
59#define IS_COMMAND() ( \
60 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
61)
62
63#endif
diff --git a/keyboards/sentraq/number_pad/config.h b/keyboards/sentraq/number_pad/config.h
index d52670c7d..0769f9f3d 100644
--- a/keyboards/sentraq/number_pad/config.h
+++ b/keyboards/sentraq/number_pad/config.h
@@ -76,8 +76,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
76 76
77/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ 77/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
78#define DEBOUNCING_DELAY 5 78#define DEBOUNCING_DELAY 5
79
80/* key combination for magic key command */
81#define IS_COMMAND() ( \
82 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
83)
diff --git a/tmk_core/protocol/usb_hid/test/config.h b/tmk_core/protocol/usb_hid/test/config.h
index a2403fe9c..71a6814fd 100644
--- a/tmk_core/protocol/usb_hid/test/config.h
+++ b/tmk_core/protocol/usb_hid/test/config.h
@@ -15,9 +15,7 @@ You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>. 15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/ 16*/
17 17
18#ifndef CONFIG_H 18#pragma once
19#define CONFIG_H
20
21 19
22#define VENDOR_ID 0xFEED 20#define VENDOR_ID 0xFEED
23#define PRODUCT_ID 0xCAFE 21#define PRODUCT_ID 0xCAFE
@@ -25,16 +23,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
25#define MANUFACTURER t.m.k. 23#define MANUFACTURER t.m.k.
26#define PRODUCT USB to USB keyboard converter 24#define PRODUCT USB to USB keyboard converter
27 25
28
29#define DESCRIPTION Product from t.m.k. keyboard firmware project 26#define DESCRIPTION Product from t.m.k. keyboard firmware project
30 27
31
32/* matrix size */ 28/* matrix size */
33#define MATRIX_ROWS 32 29#define MATRIX_ROWS 32
34#define MATRIX_COLS 8 30#define MATRIX_COLS 8
35
36
37/* key combination for command */
38#define IS_COMMAND() (get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)))
39
40#endif