I'm aware there are related questions to this topic. I have seen different ways of checking if user pressed particular (any) key, but some solutions seem too long or a bit difficult to modify. I tried pynput, pygame, etc..
My question is: what is the easiest way to check if user inputs particular key?
I want something like this (raw):
if key.pressed.right_arrow:
print("right arrow")
if key.pressed.window:
print("window")