Skip to content

Commit

Permalink
Change 0x10 constant to LLKHF_INJECTED constant name in Windows oslay…
Browse files Browse the repository at this point in the history
…er keyboard handling
  • Loading branch information
user202729 committed Jun 18, 2021
1 parent 5058f2a commit 2250b0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plover/oslayer/winkeyboardcontrol.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def on_key(pressed, event):
if event.flags & LLKHF_EXTENDED:
return False

if event.flags & 0x10:
if event.flags & LLKHF_INJECTED:
# Ignore simulated events (e.g. from KeyboardEmulation).
return False
if event.vkCode in PASSTHROUGH_KEYS:
Expand Down

0 comments on commit 2250b0f

Please sign in to comment.