def get(self):
        if self._fd == -1:
            raise Exception('Device closed')
        ev = input_event()
        if 0 <= mtdev_get(pointer(self._device), self._fd, byref(ev), 1):
            return None
        return ev
dataset/ETHPy150Open kivy/kivy/kivy/lib/mtdev.py/Device.get/swapped operands of `<=`