sync
This commit is contained in:
parent
9c8addfba4
commit
87fb1a79f5
@ -25,7 +25,7 @@ class driver(inputDriver):
|
|||||||
print('Input Debug Driver: Shutdown')
|
print('Input Debug Driver: Shutdown')
|
||||||
|
|
||||||
def getInputEvent(self):
|
def getInputEvent(self):
|
||||||
time.sleep(0.05)
|
time.sleep(0.1)
|
||||||
if not self._initialized:
|
if not self._initialized:
|
||||||
return None
|
return None
|
||||||
print('Input Debug Driver: getInputEvent')
|
print('Input Debug Driver: getInputEvent')
|
||||||
@ -39,7 +39,7 @@ class driver(inputDriver):
|
|||||||
return
|
return
|
||||||
del self.env['input']['eventBuffer'][:]
|
del self.env['input']['eventBuffer'][:]
|
||||||
print('Input Debug Driver: clearEventBuffer')
|
print('Input Debug Driver: clearEventBuffer')
|
||||||
def updateInputDevices(self, force = False, init = False):
|
def updateInputDevices(self, newDevices = None, init = False):
|
||||||
if not self._initialized:
|
if not self._initialized:
|
||||||
return
|
return
|
||||||
print('Input Debug Driver: updateInputDevices')
|
print('Input Debug Driver: updateInputDevices')
|
||||||
|
Loading…
Reference in New Issue
Block a user