Module to make functions perform at the touch of a keyboard's button? | Sololearn: Learn to code for FREE!

+1

Module to make functions perform at the touch of a keyboard's button?

How can I make functions perform at the touch of a keyboard's button? Some examples or recommended modules? Thanks in advance.

4/16/2018 3:32:17 PM

Giordano Fratti

3 Answers

New Answer

+5

This should be possible with pygame.

+2

https://stackoverflow.com/questions/16044229/how-to-get-keyboard-input-in-pygame -----> I should have found the solution here

+1

Giordano Fratti , Are you trying to make a something like a keylogger or something like a game?