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

Control+Shift+Key not working for 0, J and K #3191

Closed
1 of 11 tasks
mat007 opened this issue Feb 8, 2025 · 2 comments
Closed
1 of 11 tasks

Control+Shift+Key not working for 0, J and K #3191

mat007 opened this issue Feb 8, 2025 · 2 comments

Comments

@mat007
Copy link
Contributor

mat007 commented Feb 8, 2025

Ebitengine Version

v2.8.6

Operating System

  • Windows
  • macOS
  • Linux
  • FreeBSD
  • OpenBSD
  • Android
  • iOS
  • Nintendo Switch
  • PlayStation 5
  • Xbox
  • Web Browsers

Go Version (go version)

go1.23.2 windows/amd64

What steps will reproduce the problem?

Hi!

I’ve noticed something strange with the key press detection.
When I press the Control and Shift keys, some of the keyboard keys are not detected.
For instance Ctrl+Shift+J does not work. Same for K and 0 (zero).

It’s actually easy to reproduce when running examples/keyboard, and pressing Control, Shift and J at the same time.

What is the expected result?

I expect the 3 keys to light up at the same time: Control, Shift and J.

What happens instead?

Only 2 keys light up: Control and Shift.

Anything else you feel useful to add?

That’s with a QWERTY keyboard layout.

@hajimehoshi
Copy link
Owner

hajimehoshi commented Feb 8, 2025

I couldn't reproduce the issue on Windows (Parallels). I feel like this is a hardware-specific problem.

  • Could you give me more details of your machine?
  • Would another keyboard reproduce the issue?
  • Would this issue be reproducible with other applications than Ebitengine?

@mat007
Copy link
Contributor Author

mat007 commented Feb 8, 2025

Hmm, I tried on another Windows laptop, and there both J and K work, but Control+Shift+0 still don’t.
But then I opened Goland and tried that combination of keys in Keymap / Find Shortcut, and it too doesn’t get the exact same combos of keys!

Sorry for the noise, there must be some application that has defined system wide shortcuts, or something.

@mat007 mat007 closed this as completed Feb 8, 2025
@hajimehoshi hajimehoshi closed this as not planned Won't fix, can't repro, duplicate, stale Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants