diff options
author | Timoyoungster <[email protected]> | 2024-06-14 02:28:49 +0200 |
---|---|---|
committer | Pete Johanson <[email protected]> | 2024-06-24 14:26:14 -0600 |
commit | 10d03ca46c84a2530701ef82e28ec018d34df905 (patch) | |
tree | 07b5403995337c6f8f386c3e26a0761bdb86f525 /app/Kconfig | |
parent | 4dce0961611a2297959ab27579f145a4fb9b097e (diff) | |
download | zmk-10d03ca46c84a2530701ef82e28ec018d34df905.tar.gz zmk-10d03ca46c84a2530701ef82e28ec018d34df905.zip |
fix: adding option to separate implicit mod release from key release
This adds a new config value `ZMK_HID_SEPARATE_MOD_RELEASE_REPORT`
where, if enabled, the report for a key release is sent separately to
the accompanying modifier release signals, which are then sent in a
second report.
This fixes an issue where certain applications are unable to work with
implicitly modified keys (e.g. colon) due to them registering the
modifier release prior to the actual key release.
Have tested this on my personal keyboard and `wev` now shows the signals
in the correct order.
=> **Previously:** ```LSHIFT (pressed) -> colon (pressed) -> LSHIFT
(released) -> **semi**colon (released)```
=> **Now:** ```LSHIFT (pressed) -> colon (pressed) -> colon (released)
-> LSHIFT (released)```
(This time without accidental files)
Diffstat (limited to 'app/Kconfig')
-rw-r--r-- | app/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/Kconfig b/app/Kconfig index 8f690175dd..a45f2dc23f 100644 --- a/app/Kconfig +++ b/app/Kconfig @@ -113,6 +113,12 @@ config ZMK_HID_INDICATORS Enable HID indicators, used for detecting state of Caps/Scroll/Num Lock, Kata, and Compose. +config ZMK_HID_SEPARATE_MOD_RELEASE_REPORT + bool "Release Modifiers Separately" + help + Send a separate release event for the modifiers, to make sure the release + of the modifier doesn't get recognized before the actual key's release event. + menu "Output Types" config ZMK_USB |