Show transformed keys in output - #107
Open
rbreaves wants to merge 2 commits into
Open
Conversation
|
This doesn't work well when a keybinding is remapped to multiple key combinations, for example: |
Contributor
Author
|
Hmmm.. hadn't tested against that, I am guessing then a check needs to be added to properly call & parse out that object type then. |
luizoti
reviewed
Apr 28, 2021
There was a problem hiding this comment.
hi, based in your mod, i made this, i suposse is more simple.
in my repo a add more info in output, necessary to know the current active device.
commit: #131
print("\nDevice: {}\nWM_CLASS '{}' | active keymaps = [{}] | %s => %s".format(
device_name,
wm_class,
", ".join(keymap_names
)
) % (
combo,
mappings[combo] if combo in mappings else combo
), end="\r\n")
I made a update and now problably will print all type of functions correctly: 046277b |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Currently if a user presses a key that will be remapped xkeysnail just mentions the key pressed, not the key combo it is being transformed into. This update will append the transformed combo after "=>" if there is a transformed combo available for a specific condition and key combo.