From 87157d8f5da27ab357f777c0a919ae2195b10b2d Mon Sep 17 00:00:00 2001 From: Dane Finlay Date: Thu, 8 Dec 2022 18:34:16 +1100 Subject: [PATCH] Add two "soft" key entries in sendinput.py Re: #373. The 'printscreen' / 'snapshot' and 'numlock' keys are now typeable, via Key action objects, on Windows again. --- dragonfly/actions/sendinput.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dragonfly/actions/sendinput.py b/dragonfly/actions/sendinput.py index cdebea03..416f1832 100644 --- a/dragonfly/actions/sendinput.py +++ b/dragonfly/actions/sendinput.py @@ -77,6 +77,8 @@ class KeyboardInput(Structure): } soft_keys = { win32con.VK_PAUSE, + win32con.VK_SNAPSHOT, + win32con.VK_NUMLOCK, }