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
This commit is contained in:
@@ -58,9 +58,6 @@
|
||||
# define RGBLIGHT_SLEEP
|
||||
#endif
|
||||
|
||||
/* 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 */
|
||||
|
@@ -24,8 +24,6 @@
|
||||
#define MATRIX_COL_PINS { B12, B13, B14, A8, B9, C13, C14, C15, A1, A2, A3, A4, A5, A6, A7 }
|
||||
/* COL2ROW, ROW2COL*/
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
||||
#define DEBOUNCE 5
|
||||
|
||||
#define RGB_DI_PIN B15
|
||||
#ifdef RGB_DI_PIN
|
||||
|
@@ -20,9 +20,6 @@
|
||||
/* COL2ROW, ROW2COL*/
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
||||
#define DEBOUNCE 3
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
|
||||
# define RGB_MATRIX_KEYPRESSES
|
||||
|
@@ -2,5 +2,6 @@
|
||||
"usb": {
|
||||
"pid": "0x1120",
|
||||
"device_version": "1.0.0"
|
||||
}
|
||||
},
|
||||
"debounce": 3
|
||||
}
|
||||
|
@@ -20,9 +20,6 @@
|
||||
/* COL2ROW, ROW2COL*/
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
||||
#define DEBOUNCE 3
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
|
||||
# define RGB_MATRIX_KEYPRESSES
|
||||
|
@@ -2,5 +2,6 @@
|
||||
"usb": {
|
||||
"pid": "0x1121",
|
||||
"device_version": "2.0.0"
|
||||
}
|
||||
},
|
||||
"debounce": 3
|
||||
}
|
||||
|
@@ -36,9 +36,6 @@
|
||||
/* COL2ROW, ROW2COL*/
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
||||
#define DEBOUNCE 3
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
|
||||
# define RGB_MATRIX_KEYPRESSES
|
||||
|
@@ -2,5 +2,6 @@
|
||||
"usb": {
|
||||
"pid": "0x1121",
|
||||
"device_version": "2.1.0"
|
||||
}
|
||||
},
|
||||
"debounce": 3
|
||||
}
|
||||
|
@@ -20,9 +20,6 @@
|
||||
/* COL2ROW, ROW2COL*/
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
||||
#define DEBOUNCE 3
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
|
||||
# define RGB_MATRIX_KEYPRESSES
|
||||
|
@@ -2,5 +2,6 @@
|
||||
"usb": {
|
||||
"pid": "0x1220",
|
||||
"device_version": "1.0.0"
|
||||
}
|
||||
},
|
||||
"debounce": 3
|
||||
}
|
||||
|
@@ -20,9 +20,6 @@
|
||||
/* COL2ROW, ROW2COL*/
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
||||
#define DEBOUNCE 3
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
|
||||
# define RGB_MATRIX_KEYPRESSES
|
||||
|
@@ -2,5 +2,6 @@
|
||||
"usb": {
|
||||
"pid": "0x1221",
|
||||
"device_version": "2.0.0"
|
||||
}
|
||||
},
|
||||
"debounce": 3
|
||||
}
|
||||
|
@@ -36,9 +36,6 @@
|
||||
/* COL2ROW, ROW2COL*/
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
||||
#define DEBOUNCE 3
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
|
||||
// # define RGB_MATRIX_KEYPRESSES
|
||||
|
@@ -2,5 +2,6 @@
|
||||
"usb": {
|
||||
"pid": "0x1221",
|
||||
"device_version": "2.1.0"
|
||||
}
|
||||
},
|
||||
"debounce": 3
|
||||
}
|
||||
|
@@ -20,9 +20,6 @@
|
||||
/* COL2ROW, ROW2COL*/
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
||||
#define DEBOUNCE 3
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
|
||||
# define RGB_MATRIX_KEYPRESSES
|
||||
|
@@ -2,5 +2,6 @@
|
||||
"usb": {
|
||||
"pid": "0x1320",
|
||||
"device_version": "1.0.0"
|
||||
}
|
||||
},
|
||||
"debounce": 3
|
||||
}
|
||||
|
@@ -20,9 +20,6 @@
|
||||
/* COL2ROW, ROW2COL*/
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
||||
#define DEBOUNCE 3
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
|
||||
# define RGB_MATRIX_KEYPRESSES
|
||||
|
@@ -2,5 +2,6 @@
|
||||
"usb": {
|
||||
"pid": "0x1321",
|
||||
"device_version": "2.0.0"
|
||||
}
|
||||
},
|
||||
"debounce": 3
|
||||
}
|
||||
|
@@ -36,9 +36,6 @@
|
||||
/* COL2ROW, ROW2COL*/
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
||||
#define DEBOUNCE 3
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
|
||||
# define RGB_MATRIX_KEYPRESSES
|
||||
|
@@ -2,5 +2,6 @@
|
||||
"usb": {
|
||||
"pid": "0x1321",
|
||||
"device_version": "2.1.0"
|
||||
}
|
||||
},
|
||||
"debounce": 3
|
||||
}
|
||||
|
@@ -22,7 +22,6 @@
|
||||
#define MATRIX_COL_PINS { C7, F7, F6, F0, B0, B1, B4, D7, D6, D4, D5, D3, D2, B7 }
|
||||
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
#define DEBOUNCE 5
|
||||
|
||||
#define USB_SUSPEND_WAKEUP_DELAY 5000
|
||||
|
||||
|
@@ -38,7 +38,6 @@
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
# define RGB_MATRIX_LED_PROCESS_LIMIT 4
|
||||
# define RGB_MATRIX_LED_FLUSH_LIMIT 26
|
||||
# define DEBOUNCE 3
|
||||
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
|
||||
# define RGB_MATRIX_KEYPRESSES
|
||||
// RGB Matrix Animation modes. Explicitly enabled
|
||||
|
@@ -2,5 +2,6 @@
|
||||
"usb": {
|
||||
"pid": "0x1420",
|
||||
"device_version": "1.0.0"
|
||||
}
|
||||
},
|
||||
"debounce": 3
|
||||
}
|
||||
|
@@ -38,7 +38,6 @@
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
# define RGB_MATRIX_LED_PROCESS_LIMIT 4
|
||||
# define RGB_MATRIX_LED_FLUSH_LIMIT 26
|
||||
# define DEBOUNCE 3
|
||||
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
|
||||
# define RGB_MATRIX_KEYPRESSES
|
||||
// RGB Matrix Animation modes. Explicitly enabled
|
||||
|
@@ -2,5 +2,6 @@
|
||||
"usb": {
|
||||
"pid": "0x1421",
|
||||
"device_version": "2.0.0"
|
||||
}
|
||||
},
|
||||
"debounce": 3
|
||||
}
|
||||
|
@@ -26,9 +26,6 @@
|
||||
/* COL2ROW, ROW2COL*/
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
||||
#define DEBOUNCE 5
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
|
||||
# define USB_SUSPEND_WAKEUP_DELAY 5000
|
||||
|
@@ -35,6 +35,3 @@
|
||||
|
||||
#define BACKLIGHT_PIN B6
|
||||
#define BACKLIGHT_LEVELS 5
|
||||
|
||||
/* Set 0 if debouncing isn't needed */
|
||||
#define DEBOUNCE 5
|
||||
|
@@ -44,4 +44,3 @@
|
||||
#define RGBLIGHT_VAL_STEP 10
|
||||
#define RGBLIGHT_LIMIT_VAL 130 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
|
||||
#endif
|
||||
#define DEBOUNCE 5
|
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"bootloader": "rp2040",
|
||||
"debounce": 5,
|
||||
"diode_direction": "COL2ROW",
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
|
@@ -1,7 +1,6 @@
|
||||
{
|
||||
"bootloader": "rp2040",
|
||||
"processor": "RP2040",
|
||||
"debounce": 5,
|
||||
"diode_direction": "COL2ROW",
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
|
Reference in New Issue
Block a user