summaryrefslogtreecommitdiff
path: root/keyboards/nullbitsco
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-04 06:19:58 +1100
committerGitHub <noreply@github.com>2023-02-03 19:19:58 +0000
commitebb512db827e84619e7151fcf76e3daf9328fe59 (patch)
treedbe23d5eab663a4d5437432652186f2765602a53 /keyboards/nullbitsco
parentfb6c9eaed4806d5cc0cc42ce2be8219190b6e564 (diff)
Debounce defines cleanup (#19742)
* Clean up `DEBOUNCE` in config.h, 0-9 * Clean up `DEBOUNCE` in config.h, A * Clean up `DEBOUNCE` in config.h, B * Clean up `DEBOUNCE` in config.h, C * Clean up `DEBOUNCE` in config.h, D * Clean up `DEBOUNCE` in config.h, E * Clean up `DEBOUNCE` in config.h, F * Clean up `DEBOUNCE` in config.h, G * Clean up `DEBOUNCE` in config.h, H * Clean up `DEBOUNCE` in config.h, handwired * Clean up `DEBOUNCE` in config.h, I * Clean up `DEBOUNCE` in config.h, J * Clean up `DEBOUNCE` in config.h, K * Clean up `DEBOUNCE` in config.h, L * Clean up `DEBOUNCE` in config.h, M * Clean up `DEBOUNCE` in config.h, N * Clean up `DEBOUNCE` in config.h, O * Clean up `DEBOUNCE` in config.h, P * Clean up `DEBOUNCE` in config.h, Q * Clean up `DEBOUNCE` in config.h, R * Clean up `DEBOUNCE` in config.h, S * Clean up `DEBOUNCE` in config.h, T * Clean up `DEBOUNCE` in config.h, U * Clean up `DEBOUNCE` in config.h, V * Clean up `DEBOUNCE` in config.h, W * Clean up `DEBOUNCE` in config.h, X * Clean up `DEBOUNCE` in config.h, Y * Clean up `DEBOUNCE` in config.h, Z * Remove default debounce from info.json * Migrate non-default debounce to info.json
Diffstat (limited to 'keyboards/nullbitsco')
-rw-r--r--keyboards/nullbitsco/nibble/config.h3
-rw-r--r--keyboards/nullbitsco/nibble/info.json1
-rw-r--r--keyboards/nullbitsco/scramble/info.json1
-rw-r--r--keyboards/nullbitsco/scramble/v1/config.h3
-rw-r--r--keyboards/nullbitsco/scramble/v2/config.h3
5 files changed, 2 insertions, 9 deletions
diff --git a/keyboards/nullbitsco/nibble/config.h b/keyboards/nullbitsco/nibble/config.h
index 2fa6b9e165..2d203594bf 100644
--- a/keyboards/nullbitsco/nibble/config.h
+++ b/keyboards/nullbitsco/nibble/config.h
@@ -28,9 +28,6 @@
#define MATRIX_COLS 16
#define MATRIX_MUX_COLS 4
-/* Set 0 if debouncing isn't needed */
-#define DEBOUNCE 10
-
/*
* Keyboard Matrix Assignments
* The nibble uses a demultiplexer for the cols.
diff --git a/keyboards/nullbitsco/nibble/info.json b/keyboards/nullbitsco/nibble/info.json
index 33ae369936..c12acf5f26 100644
--- a/keyboards/nullbitsco/nibble/info.json
+++ b/keyboards/nullbitsco/nibble/info.json
@@ -7,6 +7,7 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "debounce": 10,
"layouts": {
"LAYOUT_all": {
"layout": [
diff --git a/keyboards/nullbitsco/scramble/info.json b/keyboards/nullbitsco/scramble/info.json
index cc5fd28d76..216d83e49e 100644
--- a/keyboards/nullbitsco/scramble/info.json
+++ b/keyboards/nullbitsco/scramble/info.json
@@ -8,6 +8,7 @@
"pid": "0x6062",
"device_version": "0.0.1"
},
+ "debounce": 10,
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/nullbitsco/scramble/v1/config.h b/keyboards/nullbitsco/scramble/v1/config.h
index d8f10d68ea..6f512db4c5 100644
--- a/keyboards/nullbitsco/scramble/v1/config.h
+++ b/keyboards/nullbitsco/scramble/v1/config.h
@@ -26,9 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIRECT_PINS {{D4,D5,B1}, {C3,C2,C1}}
-/* Set 0 if debouncing isn't needed */
-#define DEBOUNCE 10
-
/* Optional encoder pins */
#define ENCODERS_PAD_A { D6 }
#define ENCODERS_PAD_B { D7 }
diff --git a/keyboards/nullbitsco/scramble/v2/config.h b/keyboards/nullbitsco/scramble/v2/config.h
index 83e44e6f47..4e6ab66b44 100644
--- a/keyboards/nullbitsco/scramble/v2/config.h
+++ b/keyboards/nullbitsco/scramble/v2/config.h
@@ -25,9 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIRECT_PINS {{GP6,GP8,GP10}, {GP29,GP28,GP22}}
-/* Set 0 if debouncing isn't needed */
-#define DEBOUNCE 10
-
/* Optional encoder pins */
#define ENCODERS_PAD_A { GP24 }
#define ENCODERS_PAD_B { GP25 }