QInputEvent

class PyQt5.QtGui.QInputEvent

C++ documentation