Skip to content Skip to sidebar Skip to footer

Pyqt4 - Detect Global Mouse Click

A part of a small project I am working on involves 'calibrating' the coordinates of the screen of which to take a screen capture of. By the 'screen', I refer to the entire desktop,

Solution 1:

There are some cross-platform examples of how to do this with http://pypi.python.org/pypi/autopy/0.51

Solution 2:

I've assumed this isn't possible and am instead using pyHook, letting Qt pump the messages.

Post a Comment for "Pyqt4 - Detect Global Mouse Click"