summaryrefslogtreecommitdiffstats
path: root/keyboards/planck/thk
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-06-24 17:10:22 +1000
committerGitHub <noreply@github.com>2023-06-24 17:10:22 +1000
commit8093b13365864ec96192265242a9da44c36db798 (patch)
tree5d539e463205c09d5871127d2e1ebdd98b6f854a /keyboards/planck/thk
parent658b6aa3a62b91b3d13dca91163dac69b3a481f9 (diff)
Move `TAPPING_TOGGLE` to data driven (#21360)
Diffstat (limited to 'keyboards/planck/thk')
-rw-r--r--keyboards/planck/thk/config.h2
-rw-r--r--keyboards/planck/thk/info.json3
2 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/planck/thk/config.h b/keyboards/planck/thk/config.h
index 832fb0789c..cfb88aa0eb 100644
--- a/keyboards/planck/thk/config.h
+++ b/keyboards/planck/thk/config.h
@@ -18,8 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define TAPPING_TOGGLE 3
-
#define DIP_SWITCH_PINS { D0, D1, D4, D6 }
// THK uses D5 for audio
diff --git a/keyboards/planck/thk/info.json b/keyboards/planck/thk/info.json
index e7321ba697..f62e074e68 100644
--- a/keyboards/planck/thk/info.json
+++ b/keyboards/planck/thk/info.json
@@ -21,6 +21,9 @@
},
"processor": "atmega32a",
"bootloader": "usbasploader",
+ "tapping": {
+ "toggle": 3
+ },
"layout_aliases": {
"LAYOUT_planck_grid": "LAYOUT_ortho_4x12",
"LAYOUT_planck_mit": "LAYOUT_planck_1x2uC"