Skip to content

How to set the keyboard shortcut to use Windows key? #59

Answered by Seviks
nhan000 asked this question in Q&A
Discussion options

You must be logged in to vote

This works for me:
cmd_l

Source: https://pythonhosted.org/pynput/keyboard.html#pynput.keyboard.Key.cmd

cmd_l = <Key.f1: 0>
The left command button. On PC platforms, this corresponds to the Super key or Windows key, and on Mac it corresponds to the Command key. This may be a modifier.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nhan000
Comment options

Answer selected by theJayTea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants