Skip to content
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

Wrong ordering of down/up for shift key #4098

Open
OlivierLDff opened this issue Jan 12, 2025 · 0 comments
Open

Wrong ordering of down/up for shift key #4098

OlivierLDff opened this issue Jan 12, 2025 · 0 comments

Comments

@OlivierLDff
Copy link

Hi,
I am meeting an issue, not really sure how to formulate it.

I'm pressing :w quickly and it result in :W. This doesn't seem to happen with the builtin keyboard, only with my external keyboard (zsa voyager).

I can clearly see in the event viewer that the ordering is wrong:

[
  {
    "type": "down",
    "name": {"key_code":"left_shift"},
    "usagePage": "7 (0x0007)",
    "usage": "225 (0x00e1)",
    "misc": "flags left_shift"
  },
  {
    "type": "down",
    "name": {"key_code":"semicolon"},
    "usagePage": "7 (0x0007)",
    "usage": "51 (0x0033)",
    "misc": "flags left_shift"
  },
  {
    "type": "down",
    "name": {"key_code":"w"},
    "usagePage": "7 (0x0007)",
    "usage": "26 (0x001a)",
    "misc": "flags left_shift"
  },
  {
    "type": "up",
    "name": {"key_code":"left_shift"},
    "usagePage": "7 (0x0007)",
    "usage": "225 (0x00e1)",
    "misc": ""
  },
  {
    "type": "up",
    "name": {"key_code":"semicolon"},
    "usagePage": "7 (0x0007)",
    "usage": "51 (0x0033)",
    "misc": ""
  },
  {
    "type": "up",
    "name": {"key_code":"w"},
    "usagePage": "7 (0x0007)",
    "usage": "26 (0x001a)",
    "misc": ""
  },
  {
    "type": "down",
    "name": {"pointing_button":"button1"},
    "usagePage": "9 (0x0009)",
    "usage": "1 (0x0001)",
    "misc": ""
  },
  {
    "type": "up",
    "name": {"pointing_button":"button1"},
    "usagePage": "9 (0x0009)",
    "usage": "1 (0x0001)",
    "misc": ""
  }
]

This is working when going slowly.

Is this a known bug? Is there a workaround around that? This can happen with other key too, but I'm mostly hitting it often with :. So I can do some ugly workaround if this is a bug/limitation of the software.

Have a nice day

@OlivierLDff OlivierLDff changed the title Wrong ordering of down/up Wrong ordering of down/up for shift key Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant