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/cherrybstudio | |
| 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/cherrybstudio')
| -rw-r--r-- | keyboards/cherrybstudio/cb1800/config.h | 3 | ||||
| -rw-r--r-- | keyboards/cherrybstudio/cb65/config.h | 3 | ||||
| -rw-r--r-- | keyboards/cherrybstudio/cb87/config.h | 3 | ||||
| -rw-r--r-- | keyboards/cherrybstudio/cb87rgb/config.h | 4 | ||||
| -rw-r--r-- | keyboards/cherrybstudio/cb87v2/config.h | 4 |
5 files changed, 0 insertions, 17 deletions
diff --git a/keyboards/cherrybstudio/cb1800/config.h b/keyboards/cherrybstudio/cb1800/config.h index 1809317a81..0ba9a8ada7 100644 --- a/keyboards/cherrybstudio/cb1800/config.h +++ b/keyboards/cherrybstudio/cb1800/config.h | |||
| @@ -41,9 +41,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 41 | #define LED_SCROLL_LOCK_PIN F7 | 41 | #define LED_SCROLL_LOCK_PIN F7 |
| 42 | #define LED_PIN_ON_STATE 0 | 42 | #define LED_PIN_ON_STATE 0 |
| 43 | 43 | ||
| 44 | /* Set 0 if debouncing isn't needed */ | ||
| 45 | #define DEBOUNCE 5 | ||
| 46 | |||
| 47 | #define RGB_DI_PIN E6 | 44 | #define RGB_DI_PIN E6 |
| 48 | #ifdef RGB_DI_PIN | 45 | #ifdef RGB_DI_PIN |
| 49 | # define RGBLIGHT_EFFECT_BREATHING | 46 | # define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/cherrybstudio/cb65/config.h b/keyboards/cherrybstudio/cb65/config.h index 84d5282321..9cfa0f8806 100644 --- a/keyboards/cherrybstudio/cb65/config.h +++ b/keyboards/cherrybstudio/cb65/config.h | |||
| @@ -44,9 +44,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 44 | #define LED_SCROLL_LOCK_PIN F4 | 44 | #define LED_SCROLL_LOCK_PIN F4 |
| 45 | #define LED_PIN_ON_STATE 0 | 45 | #define LED_PIN_ON_STATE 0 |
| 46 | 46 | ||
| 47 | /* Set 0 if debouncing isn't needed */ | ||
| 48 | #define DEBOUNCE 5 | ||
| 49 | |||
| 50 | /* RGB Lighting */ | 47 | /* RGB Lighting */ |
| 51 | #define RGB_DI_PIN F0 | 48 | #define RGB_DI_PIN F0 |
| 52 | #ifdef RGB_DI_PIN | 49 | #ifdef RGB_DI_PIN |
diff --git a/keyboards/cherrybstudio/cb87/config.h b/keyboards/cherrybstudio/cb87/config.h index d6151d1c04..2f9a8a8754 100644 --- a/keyboards/cherrybstudio/cb87/config.h +++ b/keyboards/cherrybstudio/cb87/config.h | |||
| @@ -43,9 +43,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 43 | #define LED_SCROLL_LOCK_PIN F4 | 43 | #define LED_SCROLL_LOCK_PIN F4 |
| 44 | #define LED_PIN_ON_STATE 0 | 44 | #define LED_PIN_ON_STATE 0 |
| 45 | 45 | ||
| 46 | /* Set 0 if debouncing isn't needed */ | ||
| 47 | #define DEBOUNCE 5 | ||
| 48 | |||
| 49 | #define RGB_DI_PIN E6 | 46 | #define RGB_DI_PIN E6 |
| 50 | #ifdef RGB_DI_PIN | 47 | #ifdef RGB_DI_PIN |
| 51 | #define RGBLIGHT_EFFECT_BREATHING | 48 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/cherrybstudio/cb87rgb/config.h b/keyboards/cherrybstudio/cb87rgb/config.h index cdf150d8f3..b1648f2b8d 100644 --- a/keyboards/cherrybstudio/cb87rgb/config.h +++ b/keyboards/cherrybstudio/cb87rgb/config.h | |||
| @@ -35,10 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 35 | /* COL2ROW, ROW2COL*/ | 35 | /* COL2ROW, ROW2COL*/ |
| 36 | #define DIODE_DIRECTION COL2ROW | 36 | #define DIODE_DIRECTION COL2ROW |
| 37 | 37 | ||
| 38 | |||
| 39 | /* Set 0 if debouncing isn't needed */ | ||
| 40 | #define DEBOUNCE 5 | ||
| 41 | |||
| 42 | #define RGB_DI_PIN E6 | 38 | #define RGB_DI_PIN E6 |
| 43 | #define RGB_MATRIX_LED_COUNT 92 | 39 | #define RGB_MATRIX_LED_COUNT 92 |
| 44 | #define RGB_DISABLE_WHEN_USB_SUSPENDED | 40 | #define RGB_DISABLE_WHEN_USB_SUSPENDED |
diff --git a/keyboards/cherrybstudio/cb87v2/config.h b/keyboards/cherrybstudio/cb87v2/config.h index dd7ca61182..55bfbab687 100644 --- a/keyboards/cherrybstudio/cb87v2/config.h +++ b/keyboards/cherrybstudio/cb87v2/config.h | |||
| @@ -42,10 +42,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 42 | #define BACKLIGHT_LEVELS 3 | 42 | #define BACKLIGHT_LEVELS 3 |
| 43 | #endif | 43 | #endif |
| 44 | 44 | ||
| 45 | |||
| 46 | /* Set 0 if debouncing isn't needed */ | ||
| 47 | #define DEBOUNCE 5 | ||
| 48 | |||
| 49 | #define RGB_DI_PIN E6 | 45 | #define RGB_DI_PIN E6 |
| 50 | #ifdef RGB_DI_PIN | 46 | #ifdef RGB_DI_PIN |
| 51 | #define RGBLIGHT_EFFECT_BREATHING | 47 | #define RGBLIGHT_EFFECT_BREATHING |
