PDA

View Full Version : [Python] Capture all keyboard input



ki4jgt
April 3rd, 2011, 06:22 AM
I've heard of PyKeyLogger, but don't want a program. To be honest, I don't know how to dissect it yet. What would be the best module to capture key presses and then add them to a list? Please and Thank You.

cgroza
April 3rd, 2011, 12:20 PM
Take a look here: http://stackoverflow.com/questions/676713/is-there-a-cross-platform-python-low-level-api-to-capture-or-generate-keyboard-ev

The guy at the bottom is talking about xlib.