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/dailycraft | |
| 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/dailycraft')
| -rw-r--r-- | keyboards/dailycraft/bat43/config.h | 3 | ||||
| -rw-r--r-- | keyboards/dailycraft/claw44/rev1/config.h | 3 | ||||
| -rw-r--r-- | keyboards/dailycraft/owl8/config.h | 3 | ||||
| -rw-r--r-- | keyboards/dailycraft/sandbox/rev1/config.h | 3 | ||||
| -rw-r--r-- | keyboards/dailycraft/sandbox/rev2/config.h | 3 | ||||
| -rw-r--r-- | keyboards/dailycraft/stickey4/config.h | 3 | ||||
| -rw-r--r-- | keyboards/dailycraft/wings42/rev1/config.h | 3 | ||||
| -rw-r--r-- | keyboards/dailycraft/wings42/rev1_extkeys/config.h | 3 | ||||
| -rw-r--r-- | keyboards/dailycraft/wings42/rev2/config.h | 3 |
9 files changed, 0 insertions, 27 deletions
diff --git a/keyboards/dailycraft/bat43/config.h b/keyboards/dailycraft/bat43/config.h index 16bb0256b4..8b0141bc25 100644 --- a/keyboards/dailycraft/bat43/config.h +++ b/keyboards/dailycraft/bat43/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/dailycraft/claw44/rev1/config.h b/keyboards/dailycraft/claw44/rev1/config.h index d2efec7dcb..990b6449e2 100644 --- a/keyboards/dailycraft/claw44/rev1/config.h +++ b/keyboards/dailycraft/claw44/rev1/config.h | |||
| @@ -26,9 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 26 | #define DIODE_DIRECTION COL2ROW | 26 | #define DIODE_DIRECTION COL2ROW |
| 27 | #define SOFT_SERIAL_PIN D2 | 27 | #define SOFT_SERIAL_PIN D2 |
| 28 | 28 | ||
| 29 | /* Set 0 if debouncing isn't needed */ | ||
| 30 | #define DEBOUNCE 5 | ||
| 31 | |||
| 32 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 29 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 33 | //#define LOCKING_SUPPORT_ENABLE | 30 | //#define LOCKING_SUPPORT_ENABLE |
| 34 | /* Locking resynchronize hack */ | 31 | /* Locking resynchronize hack */ |
diff --git a/keyboards/dailycraft/owl8/config.h b/keyboards/dailycraft/owl8/config.h index 93f385afa9..a5fe14f5ac 100644 --- a/keyboards/dailycraft/owl8/config.h +++ b/keyboards/dailycraft/owl8/config.h | |||
| @@ -66,9 +66,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 66 | //# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | 66 | //# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 |
| 67 | //#endif | 67 | //#endif |
| 68 | 68 | ||
| 69 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 70 | #define DEBOUNCE 5 | ||
| 71 | |||
| 72 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 69 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 73 | #define LOCKING_SUPPORT_ENABLE | 70 | #define LOCKING_SUPPORT_ENABLE |
| 74 | /* Locking resynchronize hack */ | 71 | /* Locking resynchronize hack */ |
diff --git a/keyboards/dailycraft/sandbox/rev1/config.h b/keyboards/dailycraft/sandbox/rev1/config.h index d88383a173..1b96b56f9d 100644 --- a/keyboards/dailycraft/sandbox/rev1/config.h +++ b/keyboards/dailycraft/sandbox/rev1/config.h | |||
| @@ -65,9 +65,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 65 | //# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | 65 | //# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 |
| 66 | //#endif | 66 | //#endif |
| 67 | 67 | ||
| 68 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 69 | #define DEBOUNCE 5 | ||
| 70 | |||
| 71 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 68 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 72 | #define LOCKING_SUPPORT_ENABLE | 69 | #define LOCKING_SUPPORT_ENABLE |
| 73 | /* Locking resynchronize hack */ | 70 | /* Locking resynchronize hack */ |
diff --git a/keyboards/dailycraft/sandbox/rev2/config.h b/keyboards/dailycraft/sandbox/rev2/config.h index 9752a3fba7..05a05a2506 100644 --- a/keyboards/dailycraft/sandbox/rev2/config.h +++ b/keyboards/dailycraft/sandbox/rev2/config.h | |||
| @@ -65,9 +65,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 65 | //# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | 65 | //# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 |
| 66 | //#endif | 66 | //#endif |
| 67 | 67 | ||
| 68 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 69 | #define DEBOUNCE 5 | ||
| 70 | |||
| 71 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 68 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 72 | #define LOCKING_SUPPORT_ENABLE | 69 | #define LOCKING_SUPPORT_ENABLE |
| 73 | /* Locking resynchronize hack */ | 70 | /* Locking resynchronize hack */ |
diff --git a/keyboards/dailycraft/stickey4/config.h b/keyboards/dailycraft/stickey4/config.h index ab474fdfcc..c75e957f1f 100644 --- a/keyboards/dailycraft/stickey4/config.h +++ b/keyboards/dailycraft/stickey4/config.h | |||
| @@ -66,9 +66,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 66 | //# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | 66 | //# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 |
| 67 | //#endif | 67 | //#endif |
| 68 | 68 | ||
| 69 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 70 | #define DEBOUNCE 5 | ||
| 71 | |||
| 72 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 69 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 73 | #define LOCKING_SUPPORT_ENABLE | 70 | #define LOCKING_SUPPORT_ENABLE |
| 74 | /* Locking resynchronize hack */ | 71 | /* Locking resynchronize hack */ |
diff --git a/keyboards/dailycraft/wings42/rev1/config.h b/keyboards/dailycraft/wings42/rev1/config.h index b5bab94dfb..74bf3728ab 100644 --- a/keyboards/dailycraft/wings42/rev1/config.h +++ b/keyboards/dailycraft/wings42/rev1/config.h | |||
| @@ -65,9 +65,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 65 | //# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | 65 | //# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 |
| 66 | //#endif | 66 | //#endif |
| 67 | 67 | ||
| 68 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 69 | #define DEBOUNCE 5 | ||
| 70 | |||
| 71 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 68 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 72 | #define LOCKING_SUPPORT_ENABLE | 69 | #define LOCKING_SUPPORT_ENABLE |
| 73 | /* Locking resynchronize hack */ | 70 | /* Locking resynchronize hack */ |
diff --git a/keyboards/dailycraft/wings42/rev1_extkeys/config.h b/keyboards/dailycraft/wings42/rev1_extkeys/config.h index b210b6631f..8e73665f27 100644 --- a/keyboards/dailycraft/wings42/rev1_extkeys/config.h +++ b/keyboards/dailycraft/wings42/rev1_extkeys/config.h | |||
| @@ -65,9 +65,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 65 | //# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | 65 | //# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 |
| 66 | //#endif | 66 | //#endif |
| 67 | 67 | ||
| 68 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 69 | #define DEBOUNCE 5 | ||
| 70 | |||
| 71 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 68 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 72 | #define LOCKING_SUPPORT_ENABLE | 69 | #define LOCKING_SUPPORT_ENABLE |
| 73 | /* Locking resynchronize hack */ | 70 | /* Locking resynchronize hack */ |
diff --git a/keyboards/dailycraft/wings42/rev2/config.h b/keyboards/dailycraft/wings42/rev2/config.h index 6173eb49fa..e0dd585dbb 100644 --- a/keyboards/dailycraft/wings42/rev2/config.h +++ b/keyboards/dailycraft/wings42/rev2/config.h | |||
| @@ -65,9 +65,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 65 | //# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | 65 | //# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 |
| 66 | //#endif | 66 | //#endif |
| 67 | 67 | ||
| 68 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 69 | #define DEBOUNCE 5 | ||
| 70 | |||
| 71 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 68 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 72 | #define LOCKING_SUPPORT_ENABLE | 69 | #define LOCKING_SUPPORT_ENABLE |
| 73 | /* Locking resynchronize hack */ | 70 | /* Locking resynchronize hack */ |
