Skip to content

Commit

Permalink
doc: add note about process-unmapped-keys to unmod (jtroo#1228)
Browse files Browse the repository at this point in the history
It has taken me a while to figure out why `unmod` had no effect in my
mappings. After running in debug mode I realized that the events sent by
the modifiers are not tracked at all, since they are not part of my
source mapping. When seeing this I remembered seeing
`process-unmapped-keys` enabled in [this comment](jtroo#615 (comment))
while digging through some issues. Doing so resulted in the expected
behavior.
  • Loading branch information
isti115 authored Sep 11, 2024
1 parent 7adab8a commit 97884d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/config.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1566,6 +1566,10 @@ A variant of `unmod` is `unshift` or `un⇧`.
This action only releases the `lsft,rsft` keys.
This can be useful for forcing unshifted keys while AltGr is still held.

NOTE: In case the modifiers to be undone are not part of `defsrc`,
<<process-unmapped-keys>> needs to be enabled in `defcfg` in order for their
states to be tracked correctly.

.Example:
[source]
----
Expand Down

0 comments on commit 97884d3

Please sign in to comment.