bitgapp / Cursr

KVM - Share Mouse & Keyboard between multiple computers. Custom borders and more!
https://cursr.app
Other
150 stars 4 forks source link

Incorrect shift state if left and right shift used together #79

Open cduhn opened 4 weeks ago

cduhn commented 4 weeks ago

Describe the Bug/Issue

If I press the left and right shift keys together, releasing just one of those keys disables the shifted state.

Steps to Reproduce

  1. Open a text editor on the machine your keyboard is not connected to.
  2. Hold down the left shift key to type ONE
  3. Keep holding the left shift key. Simultaneously hold down the right shift key and type an underscore, so the text now says ONE_.
  4. Release the right shift key. Keeping the left shift key held down, type TWO.

Expected Behavior

After the steps above, we would expect the editor to read ONE_TWO, but it actually reads ONE_two. Releasing the right shift key dismissed the shifted state, even though the left shift key is still held down.

Your Environment

cduhn commented 4 weeks ago

I've started keeping the MacOS keyboard viewer open to see when my Mac's reported keyboard state is incorrect. In addition to the issue reported above, I've also seen the keyboard viewer report both shift keys being pressed, when in actuality I had nothing pressed. I don't know how to reproduce that yet, but I'll report back if I figure it out.

ragauskl commented 4 weeks ago

Thanks for reporting this, I'll have a look