def METHOD_NAME(self, t):
    wp = self.base.win.getProperties()
    actualMode = wp.getMouseMode()
    if self.mouseMode != actualMode:
        print("ACTUAL MOUSE MODE: %s" % actualMode)
    self.mouseMode = actualMode
    self.rotateX, self.rotateY = -.5, -.5
    self.lastMouseX, self.lastMouseY = None, None
    self.recenterMouse()