def METHOD_NAME(self, event: QWheelEvent):
    if not self.handleEvents:
        return
    x, y = self.getMousePosition(event)
    delta = event.delta()
    horizontal = event.orientation() == Qt.Orientation.Horizontal
    event.setAccepted(True)
    pdu = PlayerMouseWheelPDU(self.layer.getCurrentTimeStamp(), x, y, delta, horizontal)
    self.layer.sendPDU(pdu)