-
Notifications
You must be signed in to change notification settings - Fork 14
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
dual.modifier() successfully remaps Win->Alt, but not Ctrl->Alt #9
Comments
Glad you like it! Unfortunately, I have no idea why it’s not working for you. As mentioned in the readme, I don’t use Autohotkey anymore (and haven’t done so for 3 years), so I think you might be better off asking somewhere else :) |
Thx for such a prompt reply! |
Hi lydell i also use linux is there an equivalent script like this that you use for linux to achieve same dual role result |
None that I'm aware of. But I don't use dual-role keys anymore. If you really want them, I think the best way to do it is through keyboard firmware, unfortunately. Examples: |
@mokanfar Last year I spent some time customizing my keyboard experience and eventually wrote a Python library (based on evdev) which enables anything I wanted and is easy to maintain and extend. Check out https://gitlab.com/notEvil/keyboard. Its far from simple to use, but with a little trial and error and a look at |
Bug report
Hi, first of all thank you very much for your awesome code!
I'm trying to achieve the following:
Flawlessly done with:
Flawlessly done with:
This is where my issue is. The closest I've got is successfully make Win keys become Alt (but still not good enough - the point is to get Ctrl to produce Alt):
I have opened Notepad and Keypose to monitor what is being sent to it.
The Win mappings work correctly, the Ctrl ones do not.
Pressing Win+T correctly produces Alt+T.
Pressing Ctrl+T incorrectly produces Alt+Ctrl+T.
Expected to produce Alt+T.
Here is the minimal reproducible code:
Other things I have tried that didn't work:
Half-works in combination with first sets of mappings, requiring the multi-modifier sequence (like Alt+Ctrl+T) to begin with physical-Alt (produces Ctrl), then physical Ctrl (produces Alt), then letter T. Else the sequence will only produce Ctrl+T.
Ctrl will now produce Alt when pressed on its own, but in combination will produce Ctrl (ex. pressing physical Ctrl+F4 expecting to produce Alt+F4, but producing Ctrl+F4). This is probably me not understanding correctly the comboKey function.
Any help will be greatly appreciated, as this is my only way to make Windows tolerable..
P.S. My system is Win7 x64, Autohotkey 1.1.26, and latest Dual.
Oh, and the gist with commented out the above pieces of code for convenience:
https://gist.github.com/dimxdim/1a96506e0997092565c0f1eb51ad7b50
Thank you very much in advance for any help/advice!
The text was updated successfully, but these errors were encountered: