Closed kbilsted closed 8 months ago
your log misses the crucial first line: LALTv --> LALTv
As soon as you press the unmodified LALT, this LALT down is sent to Windows. The following cursor keys that are sent are (as Windows sees it) ALT+Cursor combos, which doesn't work.
Releasing LALT first before sending the cursor doesn't work right either, because then Windows sees an "Alt tapped" which activates the current menu (and other thing).
The way I do it is:
REWIRE LALT MOD9 // LALT
COMBO J [...& .... ....] > key(LEFT)
Now Alt is a virtual modifier that does not interact with Windows at all. When I need the real ALT (which is not very often), I either use right ALT, or I can tap+hold the left ALT (press alt, release alt, press alt, then press another key like TAB)
I've tried other keymapping projects and at least one of them handles the ALT much better
which one?
On 19. Mar 2024, at 18:11, Kasper B. Graversen @.***> wrote:
Closed #107 https://github.com/cajhin/capsicain/issues/107 as not planned.
— Reply to this email directly, view it on GitHub https://github.com/cajhin/capsicain/issues/107#event-12172878930, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBEBJQDD5BJIAJIDXID74DYZBWSVAVCNFSM6AAAAABEYGYZISVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSGE3TEOBXHA4TGMA. You are receiving this because you commented.
Keyboard Manager in PowerToys also can work with Alt:
https://github.com/microsoft/PowerToys/wiki/Keyboard-Manager https://learn.microsoft.com/en-us/windows/powertoys/keyboard-manager#remapping-shortcuts
The documentation states you can make a combo with ALT like
[&...]
does not work it is getting blocked somehow
If I instead rewire to a modifier it works
but now
ALT-TAB
no longer work. I'm not sure how to COMBOALT-TAB
since windows has a different behaviour between switching or holding downALT-TAB
releaseTAB
and using cursor keys with ALT still held.