Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement modifiers in the from side. #70

Open
wants to merge 10 commits into
base: master
from

Conversation

@amosbird
Copy link

commented Jun 22, 2016

This commit makes two modifiers as a key possible (#69). The expression
grammar becomes 'ModKeyA:ModKeyB=Key[|OtherKey][;NextExpression]'.
ModKeyB being pressed along will only be remapped if ModKeyA is being
pressed. Leaving out ModKeyA behaves like the old xcape.

Examples,
'Alt_L:Control_L=equal;Control_L:Alt_L=grave;Control_L=Escape'

Be aware the output equal and grave will become Alt_L + equal and
Control_L + grave.

@alols

This comment has been minimized.

Copy link
Owner

commented Nov 15, 2016

What are you using this for? I feel that very few users needs this. If it should be added it should be fixed so that it only outputs the Key and not ModKeyA+Key. The documentation would need to be updated also.

@amosbird

This comment has been minimized.

Copy link
Author

commented Nov 16, 2016

I'm using left alt and right alt to do joystick motions for switching windows. I think the current outputs are fine since a user probably needs to remap the outputs.

amosbird added some commits Jun 22, 2016

Implement modifiers in the from side.
This commit makes two modifiers as a key possible (#69). The expression
grammar becomes 'ModKeyA:ModKeyB=Key[|OtherKey][;NextExpression]'.
ModKeyB being pressed along will only be remapped if ModKeyA is being
pressed. Leaving out ModKeyA behaves like the old xcape.

Examples,
'Alt_L:Control_L=equal;Control_L:Alt_L=grave;Control_L=Escape'

*Be aware the output `equal` and `grave` will become `Alt_L + equal` and
 `Control_L + grave`.*

@amosbird amosbird force-pushed the amosbird:master branch from 7644b29 to 7e275d7 Jul 4, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.