Mouse

class Mouse[source]

Bases: object

Class representing mouse actions and movements.

Attributes
posQtCore.QPoint

The current position of the mouse on the screen.

last_posQtCore.QPoint

The last recorded position of the mouse on the screen.

buttonsdict

A dict containing keys “left” and “right” with each an associated boolean indicating if the corresponding mouse button is pressed.

Methods

dx

dy