Created
January 30, 2019 09:20
-
-
Save melkael/00a3e1796269db0b3a0292c6c39b4f5d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pyxhook | |
def OnKeyPress(event): | |
print (event.Key) | |
hm = pyxhook.HookManager() | |
hm.KeyDown = OnKeyPress | |
hm.HookKeyboard() | |
hm.start() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment