Skip to content

Numpad的bug #22

Answered by Jagailo
1111HGH asked this question in Q&A
Dec 25, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Thank you for your kind words, I'm glad you're happy with my modest program. I have already encountered a similar problem, but, unfortunately, I don't know what to do with it.

The fact is that I get information about the keyboard keys from the Windows API. This information is presented in the form of events. For example, key A is down -> key A is up, and so on. That is, I don't have information for all keys currently pressed. For example, you pressed Numpad 6, the program received a key press event and displayed it in the window. Then you pressed Numlock and released Numpad 6, but the number block was already disabled. The program didn't receive the event Numpad 6 is up and doesn't know t…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@1111HGH
Comment options

Answer selected by Jagailo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants