Python Forum

Full Version: How to detect Windows key?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do you detect if,
Windows key + Shift + Q keys are pressed?

I tried to search google, and Youtube, but it didn't make sense!
Quote:How do you detect if,
Windows key + Shift + Q keys are pressed?
I am assuming you many using python

In python, you would use a keyboard listener.

There are many packages in python built for this purpose (or something closely related).
Look through: https://pypi.org/search/?q=keyboard+%2B+listener&o=

You'll probably find something useful.