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/ilumkb | |
| 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/ilumkb')
| -rw-r--r-- | keyboards/ilumkb/primus75/config.h | 3 | ||||
| -rw-r--r-- | keyboards/ilumkb/simpler61/config.h | 3 | ||||
| -rw-r--r-- | keyboards/ilumkb/simpler61/info.json | 1 | ||||
| -rw-r--r-- | keyboards/ilumkb/simpler64/config.h | 3 | ||||
| -rw-r--r-- | keyboards/ilumkb/simpler64/info.json | 1 | ||||
| -rw-r--r-- | keyboards/ilumkb/volcano660/config.h | 3 |
6 files changed, 2 insertions, 12 deletions
diff --git a/keyboards/ilumkb/primus75/config.h b/keyboards/ilumkb/primus75/config.h index 7a6c99fe72..daedc37885 100644 --- a/keyboards/ilumkb/primus75/config.h +++ b/keyboards/ilumkb/primus75/config.h | |||
| @@ -37,9 +37,6 @@ | |||
| 37 | #define BACKLIGHT_LEVELS 5 | 37 | #define BACKLIGHT_LEVELS 5 |
| 38 | #endif | 38 | #endif |
| 39 | 39 | ||
| 40 | /* Set 0 if debouncing isn't needed */ | ||
| 41 | #define DEBOUNCE 5 | ||
| 42 | |||
| 43 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 40 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 44 | #define LOCKING_SUPPORT_ENABLE | 41 | #define LOCKING_SUPPORT_ENABLE |
| 45 | 42 | ||
diff --git a/keyboards/ilumkb/simpler61/config.h b/keyboards/ilumkb/simpler61/config.h index dea6ace6cf..c7efc33f8e 100644 --- a/keyboards/ilumkb/simpler61/config.h +++ b/keyboards/ilumkb/simpler61/config.h | |||
| @@ -27,9 +27,6 @@ | |||
| 27 | /* COL2ROW, ROW2COL*/ | 27 | /* COL2ROW, ROW2COL*/ |
| 28 | #define DIODE_DIRECTION COL2ROW | 28 | #define DIODE_DIRECTION COL2ROW |
| 29 | 29 | ||
| 30 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 31 | #define DEBOUNCE 3 | ||
| 32 | |||
| 33 | #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended | 30 | #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
| 34 | #define RGB_MATRIX_KEYPRESSES | 31 | #define RGB_MATRIX_KEYPRESSES |
| 35 | #define RGB_MATRIX_LED_PROCESS_LIMIT 4 | 32 | #define RGB_MATRIX_LED_PROCESS_LIMIT 4 |
diff --git a/keyboards/ilumkb/simpler61/info.json b/keyboards/ilumkb/simpler61/info.json index 7c2e0dd3af..4814183e35 100644 --- a/keyboards/ilumkb/simpler61/info.json +++ b/keyboards/ilumkb/simpler61/info.json | |||
| @@ -8,6 +8,7 @@ | |||
| 8 | "pid": "0xC361", | 8 | "pid": "0xC361", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "debounce": 3, | ||
| 11 | "layouts": { | 12 | "layouts": { |
| 12 | "LAYOUT_61_ansi": { | 13 | "LAYOUT_61_ansi": { |
| 13 | "layout": [ | 14 | "layout": [ |
diff --git a/keyboards/ilumkb/simpler64/config.h b/keyboards/ilumkb/simpler64/config.h index 383f046540..e3a4f684ed 100644 --- a/keyboards/ilumkb/simpler64/config.h +++ b/keyboards/ilumkb/simpler64/config.h | |||
| @@ -27,9 +27,6 @@ | |||
| 27 | /* COL2ROW, ROW2COL*/ | 27 | /* COL2ROW, ROW2COL*/ |
| 28 | #define DIODE_DIRECTION COL2ROW | 28 | #define DIODE_DIRECTION COL2ROW |
| 29 | 29 | ||
| 30 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 31 | #define DEBOUNCE 3 | ||
| 32 | |||
| 33 | #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended | 30 | #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended |
| 34 | #define RGB_MATRIX_KEYPRESSES | 31 | #define RGB_MATRIX_KEYPRESSES |
| 35 | #define RGB_MATRIX_LED_PROCESS_LIMIT 4 | 32 | #define RGB_MATRIX_LED_PROCESS_LIMIT 4 |
diff --git a/keyboards/ilumkb/simpler64/info.json b/keyboards/ilumkb/simpler64/info.json index 0b99efb820..450a91261a 100644 --- a/keyboards/ilumkb/simpler64/info.json +++ b/keyboards/ilumkb/simpler64/info.json | |||
| @@ -8,6 +8,7 @@ | |||
| 8 | "pid": "0xC364", | 8 | "pid": "0xC364", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "debounce": 3, | ||
| 11 | "layouts": { | 12 | "layouts": { |
| 12 | "LAYOUT_64_ansi": { | 13 | "LAYOUT_64_ansi": { |
| 13 | "layout": [ | 14 | "layout": [ |
diff --git a/keyboards/ilumkb/volcano660/config.h b/keyboards/ilumkb/volcano660/config.h index 403e809947..f184d577ec 100644 --- a/keyboards/ilumkb/volcano660/config.h +++ b/keyboards/ilumkb/volcano660/config.h | |||
| @@ -39,9 +39,6 @@ | |||
| 39 | #define BACKLIGHT_PIN B7 | 39 | #define BACKLIGHT_PIN B7 |
| 40 | #define BACKLIGHT_LEVELS 5 | 40 | #define BACKLIGHT_LEVELS 5 |
| 41 | 41 | ||
| 42 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 43 | #define DEBOUNCE 5 | ||
| 44 | |||
| 45 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 42 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 46 | #define LOCKING_SUPPORT_ENABLE | 43 | #define LOCKING_SUPPORT_ENABLE |
| 47 | /* Locking resynchronize hack */ | 44 | /* Locking resynchronize hack */ |
