From 2f9f555add827bbc6b7e6e4a08b830b9825ada4f Mon Sep 17 00:00:00 2001
From: Ryan
Date: Sun, 25 Jun 2023 22:06:31 +1000
Subject: Move `TAP_CODE_DELAY` to data driven (#21363)
---
keyboards/doodboard/duckboard/config.h | 20 --------------------
keyboards/doodboard/duckboard/info.json | 3 +++
keyboards/doodboard/duckboard_r2/config.h | 20 --------------------
keyboards/doodboard/duckboard_r2/info.json | 3 +++
4 files changed, 6 insertions(+), 40 deletions(-)
delete mode 100644 keyboards/doodboard/duckboard/config.h
delete mode 100644 keyboards/doodboard/duckboard_r2/config.h
(limited to 'keyboards/doodboard')
diff --git a/keyboards/doodboard/duckboard/config.h b/keyboards/doodboard/duckboard/config.h
deleted file mode 100644
index e16c8b7f5a..0000000000
--- a/keyboards/doodboard/duckboard/config.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/* Copyright 2020-2021 doodboard
- *
- * 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 .
- */
-
-#pragma once
-
-/* media key slowdown for windows */
-#define TAP_CODE_DELAY 20
diff --git a/keyboards/doodboard/duckboard/info.json b/keyboards/doodboard/duckboard/info.json
index 2b1f08ebb3..3d45770112 100644
--- a/keyboards/doodboard/duckboard/info.json
+++ b/keyboards/doodboard/duckboard/info.json
@@ -18,6 +18,9 @@
{"pin_a": "F5", "pin_b": "F6", "resolution": 2}
]
},
+ "qmk": {
+ "tap_keycode_delay": 20
+ },
"rgblight": {
"led_count": 8
},
diff --git a/keyboards/doodboard/duckboard_r2/config.h b/keyboards/doodboard/duckboard_r2/config.h
deleted file mode 100644
index e16c8b7f5a..0000000000
--- a/keyboards/doodboard/duckboard_r2/config.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/* Copyright 2020-2021 doodboard
- *
- * 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 .
- */
-
-#pragma once
-
-/* media key slowdown for windows */
-#define TAP_CODE_DELAY 20
diff --git a/keyboards/doodboard/duckboard_r2/info.json b/keyboards/doodboard/duckboard_r2/info.json
index 1aff0eccd3..4c47e9a70e 100644
--- a/keyboards/doodboard/duckboard_r2/info.json
+++ b/keyboards/doodboard/duckboard_r2/info.json
@@ -18,6 +18,9 @@
{"pin_a": "F6", "pin_b": "F5", "resolution": 2}
]
},
+ "qmk": {
+ "tap_keycode_delay": 20
+ },
"rgblight": {
"led_count": 8
},
--
cgit v1.2.3