pynput

Monitor and control user input devices