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

[Bug] Monitor keyboard key combination exceptions on Windows systems #2

Closed
QuakeWang opened this issue Mar 8, 2024 · 4 comments
Closed

Comments

@QuakeWang
Copy link

On Windows systems, monitor keyboard key combination exceptions. When using a key combination, ctrl + any letter key, the letter key is not displayed properly. It is normal to use keys like alt, or shift in combination with letters.

image

@tisonkun
Copy link
Contributor

This seems to be an issue for https://github.com/moses-palmer/pynput/issues.

You can report there to improve the representation.

Instead, we'd probably add a transformer to improve the display string.

@tisonkun
Copy link
Contributor

tisonkun commented Mar 11, 2024

BTW when the modifier key changes the following key's semantic, it will display the effective key.

Said if you press Shift and 3, you'd get: Key.shift+'#' instead of Key.shift+'3'.

@tisonkun
Copy link
Contributor

tisonkun commented Mar 11, 2024

Closing ...

Not quite an issue of this repo. Perhaps pynput not the best but I don't find other library better. If you find a better replacement, I'm glad to give it a try to replace the current source.

I ever tried https://github.com/LaunchMenu/node-global-key-listener but it doesn't work on MacOS for its latest version. And it's hard to integrate with the Python ecosystem where we can visualize with Streamlit. Anyway it's possible to communicate between processes but then the demo become over-complicated.

@tisonkun tisonkun closed this as not planned Won't fix, can't repro, duplicate, stale Mar 11, 2024
@tisonkun
Copy link
Contributor

Reported to pynput in moses-palmer/pynput#591.

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

2 participants