Open haoadoreorange opened 1 year ago
This is an interesting problem, I can investigate this.
In the meantime as a workaround, I recommend remapping capslock to escape via registry (e.g. with a tool like SharpKeys) and then use dual-key-remap to remap esc = esc when alone, ctrl when with other.
On Wed, Dec 7, 2022 at 6:41 PM haoadoreorange @.***> wrote:
Hello,
I use PowerToys to map some shortcuts to Ctrl+keys and then use this to have my Capslock works as Ctrl. Once in a while I find my Capslock activated (not sure why, probably some interfering with PowerToys??) with no way to disable it, because Capslock now is just a Ctrl.
I have to open Task Manager, force quit dual-key-remap, disable Capslock and only then rerun it, the whole process is quite cumbersome.
I tried AHK to map Shift to disable Capslock without success.
Shift::SetCapsLockState, Off
If key-dual-map is running then this script wouldn't work, Shift just behaves a little bit like Esc (which is weird), seems like key-dual-map works at a lower level and somehow mess with AHK SetCapsLockState
Do you know any workaround at the moment ?
— Reply to this email directly, view it on GitHub https://github.com/ililim/dual-key-remap/issues/58, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJSXCNPSAJGLE65KK5QXAJDWMEOCHANCNFSM6AAAAAASXOBFN4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Thanks ! the workaround does work wonderfully 💯 When I have some time I'll try to look into this bug too, so keep me in touch if you find anything :D
One quick workaround is to run e.g. msconfig
as non-admin and once the dialogue window asking for admin credentials pops up, just press CapsLock key.
The reason this works is that dual-key-remap does not have permissions for this dialogue hence CapsLock works as the usual CapsLock.
On the other hand this is at the same time annoying as there are quite a few other contexts which Windows use with higher privileges (e.g. presentation mode of MS PowerPoint or the "share full screen in MS Teams" functionality) where I would wish dual-key-remap worked reliably but it does not 😢
@ililim do you think this is solvable somehow? Or would we need to run a second instance of dual-key-remap this time with admin privileges in the background somehow?
Hello,
I use PowerToys to map some shortcuts to
Ctrl+keys
and then use this to have myCapslock
works asCtrl
. Once in a while I find myCapslock
activated (not sure why, probably some interfering with PowerToys??) with no way to disable it, becauseCapslock
now is just aCtrl
.I have to open
Task Manager
, force quitdual-key-remap
, disableCapslock
and only then rerun it, the whole process is quite cumbersome.I tried
AHK
to mapShift
to disableCapslock
without success.If
key-dual-map
is running then this script wouldn't work,Shift
just behaves a little bit likeEsc
(which is weird), seems likekey-dual-map
runs at a lower level and somehow mess withAHK SetCapsLockState
.Do you know any workaround at the moment ?
EDIT: typo