예제 #1
0
	def close(self):
		if self._ready:
			self.daemon.remove_controller(self)
			self._ready = False
		self.daemon.remove_mainloop(self._timer)
		USBDevice.close(self)
예제 #2
0
 def close(self):
     if self._ready:
         self.daemon.remove_controller(self)
         self._ready = False
     self.daemon.remove_mainloop(self._timer)
     USBDevice.close(self)
예제 #3
0
 def close(self):
     # Called when dongle is removed
     for c in self._controllers.values():
         self.daemon.remove_controller(c)
     self._controllers = {}
     USBDevice.close(self)
예제 #4
0
	def close(self):
		# Called when dongle is removed
		for c in self._controllers.values():
			self.daemon.remove_controller(c)
		self._controllers = {}
		USBDevice.close(self)
예제 #5
0
	def close(self):
		# Called when pad is disconnected
		USBDevice.close(self)
		if self._ready:
			self.daemon.remove_controller(self)
			self._ready = False
예제 #6
0
	def close(self):
		# Called when pad is disconnected
		USBDevice.close(self)
		if self._ready:
			self.daemon.remove_controller(self)
			self._ready = False
예제 #7
0
	def close(self):
		if self._ready:
			self.daemon.remove_controller(self)
			self._ready = False
		USBDevice.close(self)