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/ai03 | |
| 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/ai03')
| -rw-r--r-- | keyboards/ai03/andromeda/config.h | 3 | ||||
| -rw-r--r-- | keyboards/ai03/equinox/config.h | 3 | ||||
| -rw-r--r-- | keyboards/ai03/jp60/config.h | 3 | ||||
| -rw-r--r-- | keyboards/ai03/lunar/config.h | 3 | ||||
| -rw-r--r-- | keyboards/ai03/orbit/config.h | 3 | ||||
| -rw-r--r-- | keyboards/ai03/orbit_x/config.h | 3 | ||||
| -rw-r--r-- | keyboards/ai03/polaris/config.h | 3 | ||||
| -rw-r--r-- | keyboards/ai03/quasar/config.h | 3 | ||||
| -rw-r--r-- | keyboards/ai03/soyuz/config.h | 3 | ||||
| -rw-r--r-- | keyboards/ai03/vega/config.h | 3 | ||||
| -rw-r--r-- | keyboards/ai03/voyager60_alps/config.h | 3 |
11 files changed, 0 insertions, 33 deletions
diff --git a/keyboards/ai03/andromeda/config.h b/keyboards/ai03/andromeda/config.h index b512bd07c1..d8f288c0d6 100644 --- a/keyboards/ai03/andromeda/config.h +++ b/keyboards/ai03/andromeda/config.h | |||
| @@ -24,9 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | #define MATRIX_ROW_PINS { B4, B3, A15, A3, A4, A5 } | 24 | #define MATRIX_ROW_PINS { B4, B3, A15, A3, A4, A5 } |
| 25 | #define DIODE_DIRECTION COL2ROW | 25 | #define DIODE_DIRECTION COL2ROW |
| 26 | 26 | ||
| 27 | /* Set 0 if debouncing isn't needed */ | ||
| 28 | #define DEBOUNCE 5 | ||
| 29 | |||
| 30 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 27 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 31 | #define LOCKING_SUPPORT_ENABLE | 28 | #define LOCKING_SUPPORT_ENABLE |
| 32 | /* Locking resynchronize hack */ | 29 | /* Locking resynchronize hack */ |
diff --git a/keyboards/ai03/equinox/config.h b/keyboards/ai03/equinox/config.h index b7e93bf9fa..c44291aead 100644 --- a/keyboards/ai03/equinox/config.h +++ b/keyboards/ai03/equinox/config.h | |||
| @@ -57,9 +57,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 57 | // #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | 57 | // #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ |
| 58 | //#endif | 58 | //#endif |
| 59 | 59 | ||
| 60 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 61 | #define DEBOUNCE 5 | ||
| 62 | |||
| 63 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 60 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 64 | #define LOCKING_SUPPORT_ENABLE | 61 | #define LOCKING_SUPPORT_ENABLE |
| 65 | /* Locking resynchronize hack */ | 62 | /* Locking resynchronize hack */ |
diff --git a/keyboards/ai03/jp60/config.h b/keyboards/ai03/jp60/config.h index 73908593d2..2691d4caa8 100644 --- a/keyboards/ai03/jp60/config.h +++ b/keyboards/ai03/jp60/config.h | |||
| @@ -38,9 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 38 | /* COL2ROW, ROW2COL */ | 38 | /* COL2ROW, ROW2COL */ |
| 39 | #define DIODE_DIRECTION COL2ROW | 39 | #define DIODE_DIRECTION COL2ROW |
| 40 | 40 | ||
| 41 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 42 | #define DEBOUNCE 5 | ||
| 43 | |||
| 44 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 41 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 45 | #define LOCKING_SUPPORT_ENABLE | 42 | #define LOCKING_SUPPORT_ENABLE |
| 46 | /* Locking resynchronize hack */ | 43 | /* Locking resynchronize hack */ |
diff --git a/keyboards/ai03/lunar/config.h b/keyboards/ai03/lunar/config.h index 2971bb416b..9a0385e373 100644 --- a/keyboards/ai03/lunar/config.h +++ b/keyboards/ai03/lunar/config.h | |||
| @@ -53,9 +53,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 53 | // #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | 53 | // #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ |
| 54 | // #endif | 54 | // #endif |
| 55 | 55 | ||
| 56 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 57 | #define DEBOUNCE 5 | ||
| 58 | |||
| 59 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 56 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 60 | #define LOCKING_SUPPORT_ENABLE | 57 | #define LOCKING_SUPPORT_ENABLE |
| 61 | /* Locking resynchronize hack */ | 58 | /* Locking resynchronize hack */ |
diff --git a/keyboards/ai03/orbit/config.h b/keyboards/ai03/orbit/config.h index 9f5c21fc47..19bcd48fd9 100644 --- a/keyboards/ai03/orbit/config.h +++ b/keyboards/ai03/orbit/config.h | |||
| @@ -64,9 +64,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 64 | // #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | 64 | // #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ |
| 65 | // #endif | 65 | // #endif |
| 66 | 66 | ||
| 67 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 68 | #define DEBOUNCE 5 | ||
| 69 | |||
| 70 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 67 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 71 | #define LOCKING_SUPPORT_ENABLE | 68 | #define LOCKING_SUPPORT_ENABLE |
| 72 | /* Locking resynchronize hack */ | 69 | /* Locking resynchronize hack */ |
diff --git a/keyboards/ai03/orbit_x/config.h b/keyboards/ai03/orbit_x/config.h index e4b347245f..c47ec5649e 100644 --- a/keyboards/ai03/orbit_x/config.h +++ b/keyboards/ai03/orbit_x/config.h | |||
| @@ -48,9 +48,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 48 | #define SPLIT_USB_DETECT | 48 | #define SPLIT_USB_DETECT |
| 49 | #define SPLIT_USB_TIMEOUT 2500 | 49 | #define SPLIT_USB_TIMEOUT 2500 |
| 50 | 50 | ||
| 51 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 52 | #define DEBOUNCE 5 | ||
| 53 | |||
| 54 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 51 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 55 | #define LOCKING_SUPPORT_ENABLE | 52 | #define LOCKING_SUPPORT_ENABLE |
| 56 | /* Locking resynchronize hack */ | 53 | /* Locking resynchronize hack */ |
diff --git a/keyboards/ai03/polaris/config.h b/keyboards/ai03/polaris/config.h index 287027d386..111b2eb08c 100644 --- a/keyboards/ai03/polaris/config.h +++ b/keyboards/ai03/polaris/config.h | |||
| @@ -68,9 +68,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 68 | // #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | 68 | // #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 |
| 69 | #endif | 69 | #endif |
| 70 | 70 | ||
| 71 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 72 | #define DEBOUNCE 5 | ||
| 73 | |||
| 74 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 71 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 75 | #define LOCKING_SUPPORT_ENABLE | 72 | #define LOCKING_SUPPORT_ENABLE |
| 76 | /* Locking resynchronize hack */ | 73 | /* Locking resynchronize hack */ |
diff --git a/keyboards/ai03/quasar/config.h b/keyboards/ai03/quasar/config.h index 2b3b8d3d4b..cb564c2b9e 100644 --- a/keyboards/ai03/quasar/config.h +++ b/keyboards/ai03/quasar/config.h | |||
| @@ -59,9 +59,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 59 | // #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | 59 | // #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 |
| 60 | // #endif | 60 | // #endif |
| 61 | 61 | ||
| 62 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 63 | #define DEBOUNCE 5 | ||
| 64 | |||
| 65 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 62 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 66 | #define LOCKING_SUPPORT_ENABLE | 63 | #define LOCKING_SUPPORT_ENABLE |
| 67 | /* Locking resynchronize hack */ | 64 | /* Locking resynchronize hack */ |
diff --git a/keyboards/ai03/soyuz/config.h b/keyboards/ai03/soyuz/config.h index 572326263a..409ca0b05d 100644 --- a/keyboards/ai03/soyuz/config.h +++ b/keyboards/ai03/soyuz/config.h | |||
| @@ -53,9 +53,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 53 | // #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | 53 | // #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ |
| 54 | // #endif | 54 | // #endif |
| 55 | 55 | ||
| 56 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 57 | #define DEBOUNCE 5 | ||
| 58 | |||
| 59 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 56 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 60 | #define LOCKING_SUPPORT_ENABLE | 57 | #define LOCKING_SUPPORT_ENABLE |
| 61 | /* Locking resynchronize hack */ | 58 | /* Locking resynchronize hack */ |
diff --git a/keyboards/ai03/vega/config.h b/keyboards/ai03/vega/config.h index 297cdd8374..e125b623af 100644 --- a/keyboards/ai03/vega/config.h +++ b/keyboards/ai03/vega/config.h | |||
| @@ -25,9 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | #define MATRIX_ROW_PINS { A1, A2, B3, A15, A10 } | 25 | #define MATRIX_ROW_PINS { A1, A2, B3, A15, A10 } |
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | 27 | ||
| 28 | /* Set 0 if debouncing isn't needed */ | ||
| 29 | #define DEBOUNCE 5 | ||
| 30 | |||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 28 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 29 | #define LOCKING_SUPPORT_ENABLE |
| 33 | /* Locking resynchronize hack */ | 30 | /* Locking resynchronize hack */ |
diff --git a/keyboards/ai03/voyager60_alps/config.h b/keyboards/ai03/voyager60_alps/config.h index 195d324a5a..2943c6b701 100644 --- a/keyboards/ai03/voyager60_alps/config.h +++ b/keyboards/ai03/voyager60_alps/config.h | |||
| @@ -38,9 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 38 | #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | 38 | #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ |
| 39 | #endif | 39 | #endif |
| 40 | 40 | ||
| 41 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 42 | #define DEBOUNCE 5 | ||
| 43 | |||
| 44 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 41 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 45 | // #define LOCKING_SUPPORT_ENABLE | 42 | // #define LOCKING_SUPPORT_ENABLE |
| 46 | /* Locking resynchronize hack */ | 43 | /* Locking resynchronize hack */ |
