예제 #1
0
    def close(self):
        super(XInputDevice, self).close()

        if not self._device:
            return

        # TODO: uninstall events
        xi.XCloseDevice(self.display._display, self._device)
예제 #2
0
 def close(self):
     for device in self._open_devices:
         xi.XCloseDevice(self.display._display, device)