summaryrefslogtreecommitdiff
path: root/keyboards/handwired
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-06-25 22:06:31 +1000
committerGitHub <noreply@github.com>2023-06-25 22:06:31 +1000
commit2f9f555add827bbc6b7e6e4a08b830b9825ada4f (patch)
tree8f95fe2635984c3cd90b35ad6bdc1281e890ffb3 /keyboards/handwired
parentdd164a05669cb8c05ed091b31897a45a464556da (diff)
Move `TAP_CODE_DELAY` to data driven (#21363)
Diffstat (limited to 'keyboards/handwired')
-rw-r--r--keyboards/handwired/d48/config.h3
-rw-r--r--keyboards/handwired/d48/info.json3
-rw-r--r--keyboards/handwired/dactylmacropad/config.h22
-rw-r--r--keyboards/handwired/dactylmacropad/info.json3
-rw-r--r--keyboards/handwired/daishi/config.h21
-rw-r--r--keyboards/handwired/daishi/info.json3
-rw-r--r--keyboards/handwired/mutepad/config.h2
-rw-r--r--keyboards/handwired/mutepad/info.json3
-rw-r--r--keyboards/handwired/terminus_mini/info.json6
9 files changed, 14 insertions, 52 deletions
diff --git a/keyboards/handwired/d48/config.h b/keyboards/handwired/d48/config.h
index 8e3cd43739..9f06a2501a 100644
--- a/keyboards/handwired/d48/config.h
+++ b/keyboards/handwired/d48/config.h
@@ -31,9 +31,6 @@
#define OLED_TIMEOUT 0
// #define OLED_SCROLL_TIMEOUT 1000
-/* Taps (encoder tap_code) */
-#define TAP_CODE_DELAY 10
-
/* I2C */
//#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2
//#define PAL_MODE_STM32_ALTERNATE_OPENDRAIN (PAL_MODE_ALTERNATE(4) | PAL_STM32_OTYPE_OPENDRAIN)
diff --git a/keyboards/handwired/d48/info.json b/keyboards/handwired/d48/info.json
index 8e2bda7218..f56cb99e20 100644
--- a/keyboards/handwired/d48/info.json
+++ b/keyboards/handwired/d48/info.json
@@ -27,6 +27,9 @@
{"pin_a": "A0", "pin_b": "A1"}
]
},
+ "qmk": {
+ "tap_keycode_delay": 10
+ },
"processor": "STM32F303",
"bootloader": "stm32-dfu",
"board": "QMK_PROTON_C",
diff --git a/keyboards/handwired/dactylmacropad/config.h b/keyboards/handwired/dactylmacropad/config.h
deleted file mode 100644
index a2a5455ab1..0000000000
--- a/keyboards/handwired/dactylmacropad/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-// Copyright 2022 bwprobably
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
-
-#define TAP_CODE_DELAY 100
diff --git a/keyboards/handwired/dactylmacropad/info.json b/keyboards/handwired/dactylmacropad/info.json
index 6744d4b701..5d40a240a9 100644
--- a/keyboards/handwired/dactylmacropad/info.json
+++ b/keyboards/handwired/dactylmacropad/info.json
@@ -28,6 +28,9 @@
{"pin_a": "D1", "pin_b": "D0"}
]
},
+ "qmk": {
+ "tap_keycode_delay": 100
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/handwired/daishi/config.h b/keyboards/handwired/daishi/config.h
deleted file mode 100644
index 2e6498ab5d..0000000000
--- a/keyboards/handwired/daishi/config.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
-Copyright 2019 Crokto
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#pragma once
-
-/* Set delay for tap_code on rotary encoder */
-#define TAP_CODE_DELAY 10
diff --git a/keyboards/handwired/daishi/info.json b/keyboards/handwired/daishi/info.json
index 37d80633a7..6b6508eb83 100644
--- a/keyboards/handwired/daishi/info.json
+++ b/keyboards/handwired/daishi/info.json
@@ -18,6 +18,9 @@
{"pin_a": "F1", "pin_b": "F0", "resolution": 2}
]
},
+ "qmk": {
+ "tap_keycode_delay": 10
+ },
"processor": "at90usb1286",
"bootloader": "atmel-dfu",
"layouts": {
diff --git a/keyboards/handwired/mutepad/config.h b/keyboards/handwired/mutepad/config.h
index 83c78b1634..632465bba7 100644
--- a/keyboards/handwired/mutepad/config.h
+++ b/keyboards/handwired/mutepad/config.h
@@ -3,8 +3,6 @@
#pragma once
-#define TAP_CODE_DELAY 10
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
diff --git a/keyboards/handwired/mutepad/info.json b/keyboards/handwired/mutepad/info.json
index e8df528eff..5adb2505fb 100644
--- a/keyboards/handwired/mutepad/info.json
+++ b/keyboards/handwired/mutepad/info.json
@@ -19,6 +19,9 @@
{"pin_a": "F4", "pin_b": "F5", "resolution": 2}
]
},
+ "qmk": {
+ "tap_keycode_delay": 10
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
diff --git a/keyboards/handwired/terminus_mini/info.json b/keyboards/handwired/terminus_mini/info.json
index 6ceaa8e161..5593be8bb7 100644
--- a/keyboards/handwired/terminus_mini/info.json
+++ b/keyboards/handwired/terminus_mini/info.json
@@ -9,7 +9,8 @@
"device_version": "0.0.1"
},
"tapping": {
- "term": 150
+ "term": 150,
+ "toggle": 1
},
"matrix_pins": {
"cols": ["B0", "D0", "D5", "B6", "D4", "C7", "F7", "F6", "F5", "F4", "F1", "F0"],
@@ -18,9 +19,6 @@
"diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "halfkay",
- "tapping": {
- "toggle": 1
- },
"layouts": {
"LAYOUT": {
"layout": [