-
Notifications
You must be signed in to change notification settings - Fork 18
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
Stuck input after typing a sequence into a debug console #110
Comments
it's a little difficult to play that back in my head. Possible gotchas:
If Windows falsely thinks LALT is down, pressing and releasing LALT should fix it (unless capsicain is frozen and blocks key input). Now I don't get why you make it so complicated. Why don't you simply do Note: double Home does not always put the cursor into col1 - that is controlled by the editor. Please let me know if you could fix it. edit: (correction: in the log, #0 #1 #2 etc. is not the key event but the number of keys that are down. You live and learn, you live longer and forget...) edit 2: ok this might be your error case. |
I have just now researched a bit about it. Sorry for wasting time if you already know it.
It's in my screenshots, the value is 4000. By the way, what do
I have LCTRL+X mapped to another combo in PowerToys. But you are right, I can map RCTRL+X instead. I was just testing some other peculiar stuff, and I checked my combos in the debug console of capsicain, and that's how I found this problem.
I've started using capsicain only this week, so I'm just figuring it all out at this point, with the help of the wiki, your own config, and
No, and the thing is: I tested a little more, and the issue persists even when PowerToys is not running at all. I guess it isn't related to PT? In this case, you can reproduce it yourself, the config is the same as in my issue, but with RCTRL+X:
Anyway, after learning about the selection mode of the Windows console, I now see that this a natural behavior. But the issue with capsicain is still there, though it's not a big thing. But people may freakout after testing their combos and getting stuck, discovering that their keyboard input doesn't work at all. If this isn't fixable maybe you could put a line in the debug console saying that "if the input gets stuck - press RMB". |
I guess this issue is related to the fact that I also use PowerToys' Keyboard Manager in combination with capsicain.
Take this config as an example:
ALT+2 is mapped to CTRL+X in the PowerToys' Keyboard Manager.
Note that capsicain takes precedence over KM and sits lower than it. At first, capsicain's input (rewires, combos, etc) is processed, then it gets sent to KM and gets processed there.
Now, when I open capsicain with its debug console and press CapsLock + X (COMBO X) there, the output isn't finished and gets stuck:
Now, the Alt key is permanently pressed, it is stuck: whatever I press, it gets processed with Alt (pressing C will result in Alt+C)
Even if I close capsicain, it doesn't fix anything - the Alt is still stuck. Nothing will help except two things:
The sequence in the debug gets stuck exactly when LALT is pressed (when the sequence gets to pressing LALT, that is).
In my COMBO X, I tried replacing &LALT_2_^LALT with &LCTRL_P_^LCTRL as an experiment (CTRL+P just because it doesn't have a shortcut, an empty combo), and it's the same story - input gets stuck.
Though I don't know on whose side the problem is - on capsicain's or PowerToys'.
The text was updated successfully, but these errors were encountered: