I seem to have an annoying problem with Ctrl and Shift modifier keys when used together in editor shortcuts.
I use a few multi-stroke shortcuts, mainly in Intellij Idea, for example Ctrl+Shift+T, Ctrl+Shift+R. I execute that the following way:
Press and hold RightCtrl and RightShift
Press and release T
Press and release R
Release RightCtrl and RightShift
This often results in Ctrl and/or Shift to get stuck, as in my computer interpreting them as still being held down. If I continue typing it wonβt do what I would expect it to do. To fix this I mash RightCtrl and RightShift a bit and then itβs fine. Needless to say this is frustrating.
Investigating the issue a bit, this is what I have so far:
This hasnβt happened using any other keyboard
It doesnβt happen if I use the modifier keys separately, like Ctrl+C, Ctrl+V or holding down Shift to type uppercase text
my layout doesnβt do anything funky, I basically just removed mouse keys and moved a few others around. The most relevant change is that I swapped Cmd with Ctrl on the left and Alt with Ctrl on the right so I can press Ctrl+Shift using only one thumb
@ngetal - Can you reproduce this with the stock firmware? We can figure it out either way, but if itβs a problem with the firmware we ship, itβs going to be easier to reproduce AND a more serious, higher priority issue that will get fixed a lot faster.
If you can repro it with the stock firmware, please open a GitHub issue against Kaleidoscope.
this sounds like something I have also experienced while using the steno plugin where i will release keys and nothing gets registered but the keys are still being held down i submitted an issue here https://github.com/keyboardio/Kaleidoscope-Steno/issues/3 but reading this I am thinking the issue is deeper than then steno plugin. especially reading it effects you only with the right modifiers.
I managed to reproduce this using the firmware you linked with one difference. RightCtrl+RightShift no longer caused problems, so I changed my editor shortcuts to work off Alt+Shift - which on the default firmware are the same physical keys as described in the OP.
I now get Alt and Shift stuck consistently when doing the following:
Press and hold LeftAlt and RightShift (the 2 leftmost thumb keys on the right half)
Press and release T
Press and release R
Release LeftAlt and RightShift
I went a little further and tried this in a few other configurations:
Could not reproduce it using the left half of the keyboard or by holding one modifier on the left and the other on the right
Could not reproduce it using the buttons labeled shift and ctrl on the default arrangement on right half no matter what firmware I used
Reproduced it using any 2-button combination of shift, alt and space on the default arrangement on the right half
Reproduced it using any 2-button combination of alt, space and ctrl on the default arrangement on the right half
On @algernonβs suggestion I did a few other tests, hereβs what I found (copied from the GH issue):
It could very well be a hw issue. I recorded a short video demonstrating the problem: https://youtu.be/rapOiyf1OFY
Notes:
I remapped the right thumb cluster to U I O P
I managed to repro the sticking by just pressing pairs of keys in the right thumb cluster
Contrary to my earlier tests, using any 2 keys from the right cluster at the same time can achieve this
When keys get stuck, I can unstuck them by pressing any of the keys on the right half, even the likes of fn. Pressing keys on the left half does not achieve this (this is not in the recording therefore)
The issue seems to only affect the 4 thumb keys. I havenβt yet achieved this using any other keys.
Edit: forgot to mention and it does not come across properly in the video that the right cluster tends to not recognise one or both of a pressed key pair. So out of say 10 presses of I+P as above, there would be one where neither I or P are recognised and another one where only one of them.
Update for anyone who might still be interested. The problem is still present and Jesse has been great helping me try to get to the bottom of it. On his suggestion I managed to reproduce the problem using the built in test mode of the keyboard on the stock firmware and I recorded two short videos showcasing the problem.
1
In the first one at https://youtu.be/qU01yX7-E_g I tap two of the right hand thumb keys at the same time and sometimes they get stuck in the down state after they are released.
2
In the second one at https://youtu.be/MmbxDY1eThI I press all 4 keys of the thumb clusters at the same time while in test mode. The left side is okay, but the right side intermittently has problems registering key downs, indicating there is something funky with that row.
For example at 0:31:
press all 4 keys -> only Shift and Alt registers
release Ctrl while holding Shift, Alt and Space down -> Space registers
press Ctrl back -> all of them are green
-
Can anyone else reproduce any of these? My keyboard is an MP1, in case that matters.
yes I can reproduce this, I first noticed it when using the steno plugin the right side βspaceβ βctrlβ being held down at same time would sometimes cause the keyboard to think they were still being held down after I released them.
It is still uncertain whether this is a HW or SW problem. I can consistently repro it with two different MP1 right halves, but it appears there are relatively few of us who are affected.
For what itβs worth, Iβm running almost stock firmware. The only customization Iβve done so far is to remove most of the LED lighting patterns and add in one for (56, 0, 98).
Since the electronics for MP5 are already done and weβve only seen two people able to reproduce this, weβre not planning on holding MP5. (I expect this to be something that can be fixed in software)