Hi Tatiana Mathis,
I can understand why this behavior is puzzling, especially since the low-level monitor reports the expected key events while the affected application behaves as though the key is repeating. The testing you have already done is very helpful in narrowing down where the issue may be occurring.
Based on the behavior described, this does not necessarily mean that registering or unregistering a WH_KEYBOARD_LL hook resets the Windows keyboard input stack. The improvement could also be related to a change in timing, application focus, message processing, or an internal key state being refreshed at around the same time.
Since the low-level hook receives the expected events, the issue may be occurring further along the input path, such as within the affected application, its message queue, its key-repeat handling, or another program that is intercepting or modifying keyboard input. Raw Input, low-level hooks, and standard keyboard messages also observe input at different stages, so their results may not always match exactly.
To narrow this down, could you confirm the following?
- Does the issue occur in only one application, or in multiple applications such as Notepad?
- What is the name and version of the affected application?
- Which Windows 11 version and OS build are you using?
- Are any keyboard remapping, macro, overlay, accessibility, gaming, or input-management applications running?
- When the issue occurs, does changing focus to another application and then returning to the affected application restore normal behavior?
- Have you been able to reproduce the same sequence more than once?
If the behavior occurs again, it may also help to test with a clean boot and temporarily disable non-Microsoft keyboard utilities or overlays. Comparing the behavior in Notepad with the affected application could help determine whether the problem is system-wide or isolated to that application.
At this stage, the observation suggests a possible application-level input state issue or interference from another input component, but there is not yet enough evidence to conclude that the low-level hook is resetting an underlying Windows component.
While my initial response may not fully resolve the issue, I truly appreciate your cooperation as we work together toward identifying the most effective solution. Thank you so much for your understanding.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.