Zuzu-Typ / winput

winput Python extention - capture and send keyboard and mouse input on Windows
zlib License
28 stars 2 forks source link

How can I use VK_LSHIFT with VK_OEM_PERIOD at the same time? #1

Closed Bejogithub closed 4 years ago

Zuzu-Typ commented 4 years ago

The same way you would on your keyboard. Press and hold shift. Press period. Release shift.

winput.press_key(winput.VK_LSHIFT)
winput.click_key(winput.VK_OEM_PERIOD)
winput.release_key(winput.VK_LSHIFT)