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/nullbitsco/scramble/v1/config.h | 22 ----------------------
keyboards/nullbitsco/scramble/v1/info.json | 3 +++
keyboards/nullbitsco/scramble/v2/config.h | 2 --
keyboards/nullbitsco/scramble/v2/info.json | 3 +++
4 files changed, 6 insertions(+), 24 deletions(-)
delete mode 100644 keyboards/nullbitsco/scramble/v1/config.h
(limited to 'keyboards/nullbitsco')
diff --git a/keyboards/nullbitsco/scramble/v1/config.h b/keyboards/nullbitsco/scramble/v1/config.h
deleted file mode 100644
index bb0ee7d785..0000000000
--- a/keyboards/nullbitsco/scramble/v1/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
-Copyright 2021 Jay Greco
-
-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 .
-*/
-
-/* NOTE: This config file is specific to AVR builds. */
-
-#pragma once
-
-#define TAP_CODE_DELAY 10
diff --git a/keyboards/nullbitsco/scramble/v1/info.json b/keyboards/nullbitsco/scramble/v1/info.json
index 77a00d91f4..5a9aeef64b 100644
--- a/keyboards/nullbitsco/scramble/v1/info.json
+++ b/keyboards/nullbitsco/scramble/v1/info.json
@@ -4,6 +4,9 @@
{"pin_a": "D6", "pin_b": "D7"}
]
},
+ "qmk": {
+ "tap_keycode_delay": 10
+ },
"processor": "atmega328p",
"bootloader": "usbasploader",
"matrix_pins": {
diff --git a/keyboards/nullbitsco/scramble/v2/config.h b/keyboards/nullbitsco/scramble/v2/config.h
index 945a4da9de..419a028c9f 100644
--- a/keyboards/nullbitsco/scramble/v2/config.h
+++ b/keyboards/nullbitsco/scramble/v2/config.h
@@ -19,8 +19,6 @@ along with this program. If not, see .
#pragma once
-#define TAP_CODE_DELAY 10
-
/* RP2040-specific defines*/
#define PICO_XOSC_STARTUP_DELAY_MULTIPLIER 64
#define RP2040_FLASH_GENERIC_03H
diff --git a/keyboards/nullbitsco/scramble/v2/info.json b/keyboards/nullbitsco/scramble/v2/info.json
index 5255c32205..2a89a1063b 100644
--- a/keyboards/nullbitsco/scramble/v2/info.json
+++ b/keyboards/nullbitsco/scramble/v2/info.json
@@ -4,6 +4,9 @@
{"pin_a": "GP24", "pin_b": "GP25"}
]
},
+ "qmk": {
+ "tap_keycode_delay": 10
+ },
"processor": "RP2040",
"bootloader": "rp2040",
"matrix_pins": {
--
cgit v1.2.3