summaryrefslogtreecommitdiff
path: root/keyboards/geekboards
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/geekboards
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/geekboards')
-rw-r--r--keyboards/geekboards/macropad_v2/config.h3
-rw-r--r--keyboards/geekboards/macropad_v2/info.json1
-rw-r--r--keyboards/geekboards/tester/config.h1
-rw-r--r--keyboards/geekboards/tester/info.json1
4 files changed, 2 insertions, 4 deletions
diff --git a/keyboards/geekboards/macropad_v2/config.h b/keyboards/geekboards/macropad_v2/config.h
index f4fe1cd4a2..e4e2e955d1 100644
--- a/keyboards/geekboards/macropad_v2/config.h
+++ b/keyboards/geekboards/macropad_v2/config.h
@@ -92,9 +92,6 @@
#define RGB_DISABLE_WHEN_USB_SUSPENDED
#define WAIT_FOR_USB
-/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
-#define DEBOUNCE 3
-
/* Bootmagic Lite key configuration */
#define BOOTMAGIC_LITE_ROW 0
#define BOOTMAGIC_LITE_COLUMN 0
diff --git a/keyboards/geekboards/macropad_v2/info.json b/keyboards/geekboards/macropad_v2/info.json
index bac03b43f1..4671440fef 100644
--- a/keyboards/geekboards/macropad_v2/info.json
+++ b/keyboards/geekboards/macropad_v2/info.json
@@ -8,6 +8,7 @@
"pid": "0xA372",
"device_version": "0.0.2"
},
+ "debounce": 3,
"layouts": {
"LAYOUT_ortho_2x4": {
"layout": [
diff --git a/keyboards/geekboards/tester/config.h b/keyboards/geekboards/tester/config.h
index 4a8bb181db..96aa0afbe4 100644
--- a/keyboards/geekboards/tester/config.h
+++ b/keyboards/geekboards/tester/config.h
@@ -11,7 +11,6 @@
#define LOCKING_SUPPORT_ENABL
#define LOCKING_RESYNC_ENABLE
-#define DEBOUNCE 3
#ifdef RGB_MATRIX_ENABLE
#define RGB_DISABLE_WHEN_USB_SUSPENDED
#define RGB_MATRIX_KEYPRESSES
diff --git a/keyboards/geekboards/tester/info.json b/keyboards/geekboards/tester/info.json
index 2da610fb3f..9da0d0edb6 100644
--- a/keyboards/geekboards/tester/info.json
+++ b/keyboards/geekboards/tester/info.json
@@ -8,6 +8,7 @@
"pid": "0x1319",
"device_version": "0.0.1"
},
+ "debounce": 3,
"layouts": {
"LAYOUT": {
"layout": [