Friday, 12 April 2019
  5 Replies
  4.6K Visits
  Subscribe
In IntelliJ IDEs (Idea, PhpStorm, WebStorm, etc) there is a functionality to double-tap Shift to bring up the "Search Everywhere" dialog, or double tap Alt to start a multiple cursor selection. This is currently working fine on all my keyboards, except for the KeyMouse Alpha. I am on OSX and when I bring up the Keyboard Viewer to monitor what keystrokes are being registered, the Shift key image lights up in both cases, but on IntelliJ it only registers when I issue the double taps from my non-KeyMouse Keyboard. Is this a firmware issue?
3 years ago
·
#1638
Accepted Answer
Hi @Andri and @Stepan
When the modifier keys are set to "Both", then it actually sends the modifier key from both left/right hand KeyMouse devices. This was the only way we could get the modifier keys work for Mac on a fully split keyboard, due to how Mac handles modifier keys separately for each keyboard.

So pressing "Shift - Both" on the left KeyMouse will send Shift from both devices. I'm guessing that Webstorm gets confused by this, receiving 2 simultaneous Shift keys when you press the key. I wish we had a better way to deal with this, but we haven't found a way to get Mac to honor modifier keys from other keyboards any other way. You can test by plugging 2 typical keyboards into a Mac, then holding shift on one keyboard, and type a letter on the other keyboard. The letter will not capitalize. My recommendation for now is to do as you've done with the Blue layer causing the modifiers to be the "normal" version instead of the "both" version of the key. We will let you know if we can find any work-arounds.

Windows and Linux do not have this issue since they treat modifier keys at the OS level instead of on a per-keyboard basis. Strangely enough, iOS doesn't have this issue either, so it's just MacOS that we have to do the work-around for.

Side note: We use Webstorm regularly on Mac, Linux, & sometimes Windows using KeyMouse Alpha & Track for developing our other web based software (so we live in similar worlds).
3 years ago
·
#1630
That is strange. Can you double check and make sure your Shift keys on the KeyMouse are assigned to Shift - Left (Both) and Shift - Right (Both)? Same with the Alt. That may have something to do with it. Mac treats each hand on the KeyMouse as a separate device, so assigning the modifiers to the "(Both)" version of each key makes it operate like one keyboard.
3 years ago
·
#1632
Yes, they are all set correctly as "both". However, after your suggestion, I set the Blue layer shift and Alt keys on the right KeyMouse as Shift - Right and Alt - Right respectively, and they work as expected while holding Fn Blue. Still, there seems to be a difference in how the system interprets the (both) and non-(both) flavors of modifier keys and I am afraid it will lead to more gotchas down the road. Can this be fixed?
3 years ago
·
#1633
I can confirm.
In intelliJ Idea the "double tap" modifier keys are ignored for me too. (using KeyMouse Alpha.)

To the stated by Andri Xhitoni I will add, double tap Ctrl (Run anything in IntelliJ Idea) is not registered on my KeyMouse Alpha as well.

It works on laptop keyboard, two cheap bluetooth keyboards.

Currently I'm on Widows 10.
3 years ago
·
#1637
Andri Xhitoni and Stepan Krivanec,
Ok, I understand. Because KeyMouse is two separate devices, Mac treats them like two separate keyboards.

Because of that, we created the "(Both)" key options (such as "Shift - Left (Both)" and "Shift - Right (Both)";) to make the device send Shift (or any modifier for that matter) from both the left and right hands. In this case, if you double tap Shift, it will actually send the Shift signal 4 times (2 from the Left, 2 from the Right).

So, it sounds like for that particular software, it would need to be assigned to "Shift - Left" or "Shift - Right", instead of the "Shift - Left (Both)" and "Shift - Right (Both)", at least in order to make it run those commands correctly. Otherwise, by default in Mac, you would assign the modifier keys to the (Both) option for it to recognize the modifier on both hands.
3 years ago
·
#1638
Accepted Answer
Hi @Andri and @Stepan
When the modifier keys are set to "Both", then it actually sends the modifier key from both left/right hand KeyMouse devices. This was the only way we could get the modifier keys work for Mac on a fully split keyboard, due to how Mac handles modifier keys separately for each keyboard.

So pressing "Shift - Both" on the left KeyMouse will send Shift from both devices. I'm guessing that Webstorm gets confused by this, receiving 2 simultaneous Shift keys when you press the key. I wish we had a better way to deal with this, but we haven't found a way to get Mac to honor modifier keys from other keyboards any other way. You can test by plugging 2 typical keyboards into a Mac, then holding shift on one keyboard, and type a letter on the other keyboard. The letter will not capitalize. My recommendation for now is to do as you've done with the Blue layer causing the modifiers to be the "normal" version instead of the "both" version of the key. We will let you know if we can find any work-arounds.

Windows and Linux do not have this issue since they treat modifier keys at the OS level instead of on a per-keyboard basis. Strangely enough, iOS doesn't have this issue either, so it's just MacOS that we have to do the work-around for.

Side note: We use Webstorm regularly on Mac, Linux, & sometimes Windows using KeyMouse Alpha & Track for developing our other web based software (so we live in similar worlds).
  • Page :
  • 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below.
Supported: gif,jpg,png,jpeg,zip,rar,pdf
· Insert · Remove
  Upload Files (Maximum 2MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.