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/woodkeys | |
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/woodkeys')
-rwxr-xr-x | keyboards/woodkeys/bigseries/1key/config.h | 3 | ||||
-rw-r--r-- | keyboards/woodkeys/bigseries/1key/info.json | 1 | ||||
-rwxr-xr-x | keyboards/woodkeys/bigseries/2key/config.h | 3 | ||||
-rw-r--r-- | keyboards/woodkeys/bigseries/2key/info.json | 1 | ||||
-rwxr-xr-x | keyboards/woodkeys/bigseries/3key/config.h | 3 | ||||
-rw-r--r-- | keyboards/woodkeys/bigseries/3key/info.json | 1 | ||||
-rwxr-xr-x | keyboards/woodkeys/bigseries/4key/config.h | 3 | ||||
-rw-r--r-- | keyboards/woodkeys/bigseries/4key/info.json | 1 | ||||
-rw-r--r-- | keyboards/woodkeys/meira/featherble/config.h | 3 | ||||
-rw-r--r-- | keyboards/woodkeys/meira/promicro/config.h | 3 | ||||
-rw-r--r-- | keyboards/woodkeys/scarletbandana/config.h | 2 |
11 files changed, 4 insertions, 20 deletions
diff --git a/keyboards/woodkeys/bigseries/1key/config.h b/keyboards/woodkeys/bigseries/1key/config.h index 7d3b9dcb84..333f267787 100755 --- a/keyboards/woodkeys/bigseries/1key/config.h +++ b/keyboards/woodkeys/bigseries/1key/config.h @@ -29,9 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION ROW2COL -/* Set 0 if debouncing isn't needed */ -#define DEBOUNCE 50 - /* key combination for command */ #define IS_COMMAND() ( \ false \ diff --git a/keyboards/woodkeys/bigseries/1key/info.json b/keyboards/woodkeys/bigseries/1key/info.json index ea99bd3919..d23f597324 100644 --- a/keyboards/woodkeys/bigseries/1key/info.json +++ b/keyboards/woodkeys/bigseries/1key/info.json @@ -8,6 +8,7 @@ "pid": "0x6071", "device_version": "0.0.2" }, + "debounce": 50, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/woodkeys/bigseries/2key/config.h b/keyboards/woodkeys/bigseries/2key/config.h index b347193c59..6c7f328873 100755 --- a/keyboards/woodkeys/bigseries/2key/config.h +++ b/keyboards/woodkeys/bigseries/2key/config.h @@ -29,9 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION ROW2COL -/* Set 0 if debouncing isn't needed */ -#define DEBOUNCE 50 - /* key combination for command */ #define IS_COMMAND() ( \ false \ diff --git a/keyboards/woodkeys/bigseries/2key/info.json b/keyboards/woodkeys/bigseries/2key/info.json index 794e955ef0..643fc847e6 100644 --- a/keyboards/woodkeys/bigseries/2key/info.json +++ b/keyboards/woodkeys/bigseries/2key/info.json @@ -8,6 +8,7 @@ "pid": "0x6071", "device_version": "0.0.2" }, + "debounce": 50, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/woodkeys/bigseries/3key/config.h b/keyboards/woodkeys/bigseries/3key/config.h index de1ac27d42..8fc0a87e9c 100755 --- a/keyboards/woodkeys/bigseries/3key/config.h +++ b/keyboards/woodkeys/bigseries/3key/config.h @@ -29,9 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION ROW2COL -/* Set 0 if debouncing isn't needed */ -#define DEBOUNCE 50 - /* key combination for command */ #define IS_COMMAND() ( \ false \ diff --git a/keyboards/woodkeys/bigseries/3key/info.json b/keyboards/woodkeys/bigseries/3key/info.json index 539f780105..7b1a397ae3 100644 --- a/keyboards/woodkeys/bigseries/3key/info.json +++ b/keyboards/woodkeys/bigseries/3key/info.json @@ -8,6 +8,7 @@ "pid": "0x6073", "device_version": "0.0.2" }, + "debounce": 50, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/woodkeys/bigseries/4key/config.h b/keyboards/woodkeys/bigseries/4key/config.h index 91997a160d..8fe9ab2873 100755 --- a/keyboards/woodkeys/bigseries/4key/config.h +++ b/keyboards/woodkeys/bigseries/4key/config.h @@ -29,9 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION ROW2COL -/* Set 0 if debouncing isn't needed */ -#define DEBOUNCE 50 - /* key combination for command */ #define IS_COMMAND() ( \ false \ diff --git a/keyboards/woodkeys/bigseries/4key/info.json b/keyboards/woodkeys/bigseries/4key/info.json index 62fa027854..d773d37765 100644 --- a/keyboards/woodkeys/bigseries/4key/info.json +++ b/keyboards/woodkeys/bigseries/4key/info.json @@ -8,6 +8,7 @@ "pid": "0x6074", "device_version": "0.0.2" }, + "debounce": 50, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/woodkeys/meira/featherble/config.h b/keyboards/woodkeys/meira/featherble/config.h index 05131591dd..990ebdf19b 100644 --- a/keyboards/woodkeys/meira/featherble/config.h +++ b/keyboards/woodkeys/meira/featherble/config.h @@ -38,9 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define AUDIO_PIN B5 #define AUDIO_VOICES -/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -#define DEBOUNCE 5 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/woodkeys/meira/promicro/config.h b/keyboards/woodkeys/meira/promicro/config.h index c6e9f749a0..93e0a9e144 100644 --- a/keyboards/woodkeys/meira/promicro/config.h +++ b/keyboards/woodkeys/meira/promicro/config.h @@ -35,9 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define LED_EN_PIN D2 -/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -#define DEBOUNCE 5 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ //#define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/woodkeys/scarletbandana/config.h b/keyboards/woodkeys/scarletbandana/config.h index a8d9dada1f..8175b57654 100644 --- a/keyboards/woodkeys/scarletbandana/config.h +++ b/keyboards/woodkeys/scarletbandana/config.h @@ -51,5 +51,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. // Disable music mode to keep the firmware size down #define NO_MUSIC_MODE #endif - -#define DEBOUNCE 5 |