diff options
author | Ryan <fauxpark@gmail.com> | 2021-11-04 16:22:17 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-03 22:22:17 -0700 |
commit | f529580860cf5a1de4afc10432f218a45daae17a (patch) | |
tree | 1d2fa041174f2586230ab831c05e5b56d8ba4f92 /quantum/wpm.c | |
parent | b06d9d822cfb72e0728b11711a333f2f5d3c631e (diff) | |
download | qmk_firmware-f529580860cf5a1de4afc10432f218a45daae17a.tar.gz qmk_firmware-f529580860cf5a1de4afc10432f218a45daae17a.zip |
Basic keycode overhaul (#14726)
Diffstat (limited to 'quantum/wpm.c')
-rw-r--r-- | quantum/wpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/wpm.c b/quantum/wpm.c index e711e9fe7..cad4cefd5 100644 --- a/quantum/wpm.c +++ b/quantum/wpm.c | |||
@@ -56,7 +56,7 @@ __attribute__((weak)) uint8_t wpm_regress_count(uint16_t keycode) { | |||
56 | } else if (keycode > 0xFF) { | 56 | } else if (keycode > 0xFF) { |
57 | keycode = 0; | 57 | keycode = 0; |
58 | } | 58 | } |
59 | if (keycode == KC_DEL || keycode == KC_BSPC) { | 59 | if (keycode == KC_DELETE || keycode == KC_BACKSPACE) { |
60 | if (((get_mods() | get_oneshot_mods()) & MOD_MASK_CTRL) || weak_modded) { | 60 | if (((get_mods() | get_oneshot_mods()) & MOD_MASK_CTRL) || weak_modded) { |
61 | return WPM_ESTIMATED_WORD_SIZE; | 61 | return WPM_ESTIMATED_WORD_SIZE; |
62 | } else { | 62 | } else { |