summaryrefslogtreecommitdiff
path: root/keyboards/handwired/pterodactyl
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/handwired/pterodactyl
parent658b6aa3a62b91b3d13dca91163dac69b3a481f9 (diff)
Move `TAPPING_TOGGLE` to data driven (#21360)
Diffstat (limited to 'keyboards/handwired/pterodactyl')
-rw-r--r--keyboards/handwired/pterodactyl/config.h2
-rw-r--r--keyboards/handwired/pterodactyl/info.json3
2 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/handwired/pterodactyl/config.h b/keyboards/handwired/pterodactyl/config.h
index 40aee1e05e..ff53a1970d 100644
--- a/keyboards/handwired/pterodactyl/config.h
+++ b/keyboards/handwired/pterodactyl/config.h
@@ -37,8 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MOUSEKEY_MAX_SPEED 7
#define MOUSEKEY_WHEEL_DELAY 0
-#define TAPPING_TOGGLE 1
-
/* key combination for command */
#define IS_COMMAND() ( \
get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \
diff --git a/keyboards/handwired/pterodactyl/info.json b/keyboards/handwired/pterodactyl/info.json
index 213b7aa53b..3598b39b8d 100644
--- a/keyboards/handwired/pterodactyl/info.json
+++ b/keyboards/handwired/pterodactyl/info.json
@@ -11,6 +11,9 @@
"processor": "atmega32u4",
"bootloader": "caterina",
"debounce": 0,
+ "tapping": {
+ "toggle": 1
+ },
"layouts": {
"LAYOUT_pterodactyl": {
"layout": [