Update inputDriver.py
This commit is contained in:
parent
4cde0159f9
commit
0f83708ea0
@ -41,13 +41,16 @@ class inputDriver():
|
||||
def toggleLedState(self, led = 0):
|
||||
if not self._initialized:
|
||||
return None
|
||||
def grabDevices(self):
|
||||
def grabAllDevices(self):
|
||||
if not self._initialized:
|
||||
return None
|
||||
def releaseDevices(self):
|
||||
def ungrabAllDevices(self):
|
||||
if not self._initialized:
|
||||
return None
|
||||
def removeAllDevices(self):
|
||||
if not self._initialized:
|
||||
return None
|
||||
def __del__(self):
|
||||
if not self._initialized:
|
||||
return None
|
||||
self.releaseDevices()
|
||||
self.removeAllDevices()
|
||||
|
Loading…
Reference in New Issue
Block a user