diff options
author | Ryan <fauxpark@gmail.com> | 2023-02-04 06:19:58 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-03 19:19:58 +0000 |
commit | ebb512db827e84619e7151fcf76e3daf9328fe59 (patch) | |
tree | dbe23d5eab663a4d5437432652186f2765602a53 /keyboards/qpockets | |
parent | fb6c9eaed4806d5cc0cc42ce2be8219190b6e564 (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/qpockets')
-rw-r--r-- | keyboards/qpockets/eggman/config.h | 3 | ||||
-rw-r--r-- | keyboards/qpockets/space_space/rev1/config.h | 2 | ||||
-rw-r--r-- | keyboards/qpockets/space_space/rev1/info.json | 1 | ||||
-rw-r--r-- | keyboards/qpockets/space_space/rev2/config.h | 2 | ||||
-rw-r--r-- | keyboards/qpockets/wanten/config.h | 3 | ||||
-rw-r--r-- | keyboards/qpockets/wanten/info.json | 1 |
6 files changed, 2 insertions, 10 deletions
diff --git a/keyboards/qpockets/eggman/config.h b/keyboards/qpockets/eggman/config.h index 83ebf8ba93..a5f64d4050 100644 --- a/keyboards/qpockets/eggman/config.h +++ b/keyboards/qpockets/eggman/config.h @@ -34,6 +34,3 @@ #define ENCODER_RESOLUTION 4 //#define ENCODER_DIRECTION_FLIP - -#define DEBOUNCE 5 - diff --git a/keyboards/qpockets/space_space/rev1/config.h b/keyboards/qpockets/space_space/rev1/config.h index c105f84eac..3f900afabb 100644 --- a/keyboards/qpockets/space_space/rev1/config.h +++ b/keyboards/qpockets/space_space/rev1/config.h @@ -40,6 +40,4 @@ { 3, 4 } //#define ENCODER_DIRECTION_FLIP -#define DEBOUNCE 7 - #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/qpockets/space_space/rev1/info.json b/keyboards/qpockets/space_space/rev1/info.json index f882474efe..b73e3a434c 100644 --- a/keyboards/qpockets/space_space/rev1/info.json +++ b/keyboards/qpockets/space_space/rev1/info.json @@ -8,6 +8,7 @@ "pid": "0x7373", "device_version": "30.0.0" }, + "debounce": 7, "layouts": { "LAYOUT_default": { "layout": [ diff --git a/keyboards/qpockets/space_space/rev2/config.h b/keyboards/qpockets/space_space/rev2/config.h index c89045230c..6b1aa96219 100644 --- a/keyboards/qpockets/space_space/rev2/config.h +++ b/keyboards/qpockets/space_space/rev2/config.h @@ -38,8 +38,6 @@ #define ENCODER_RESOLUTION 3 -#define DEBOUNCE 5 - #define LOCKING_SUPPORT_ENABLE #define RGB_DI_PIN F0 diff --git a/keyboards/qpockets/wanten/config.h b/keyboards/qpockets/wanten/config.h index 86e4835666..44d5c477e0 100644 --- a/keyboards/qpockets/wanten/config.h +++ b/keyboards/qpockets/wanten/config.h @@ -45,9 +45,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define ENCODER_RESOLUTION 4 //#define ENCODER_DIRECTION_FLIP -/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -#define DEBOUNCE 4 - /*nothing below here is needed for wanten unless enabling RGB. the correct RGB_DI_PIN is defined, the rest is up to you o7 */ //#define RGB_DI_PIN B0 diff --git a/keyboards/qpockets/wanten/info.json b/keyboards/qpockets/wanten/info.json index d78efd2758..8ce7326062 100644 --- a/keyboards/qpockets/wanten/info.json +++ b/keyboards/qpockets/wanten/info.json @@ -8,6 +8,7 @@ "pid": "0x7774", "device_version": "0.0.1" }, + "debounce": 4, "layouts": { "LAYOUT_default": { "layout": [ |