Python Forum
How to detect Windows key? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: How to detect Windows key? (/thread-31983.html)



How to detect Windows key? - Oshadha - Jan-13-2021

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!


RE: How to detect Windows key? - Larz60+ - Jan-13-2021

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.


This forum uses Lukasz Tkacz MyBB addons.
Forum use Krzysztof "Supryk" Supryczynski addons.