

def handler(self, proxy, type, event, refcon):
    (x, y) = CGEventGetLocation(event)
    if (type in pressID):
        self.click(x, y, pressID.index(type), True)
    elif (type in releaseID):
        x.click(x, y, releaseID.index(type), False)
    else:
        self.move(x, y)
    if self.capture:
        CGEventSetType(event, kCGEventNull)
    return event

dataset/ETHPy150Open pepijndevos/PyMouse/pymouse/mac.py PyMouseEvent.handler/VarMisuse@66/76 `self`->`x`