Update fenrirManager.py
This commit is contained in:
parent
b6853c7cda
commit
0a77f2a54d
@ -166,10 +166,7 @@ class fenrirManager():
|
|||||||
#print('handleScreenUpdate:',time.time() - startTime)
|
#print('handleScreenUpdate:',time.time() - startTime)
|
||||||
|
|
||||||
def handlePlugInputDevice(self, event):
|
def handlePlugInputDevice(self, event):
|
||||||
if event['Data']:
|
self.env['runtime']['inputManager'].handlePlugInputDevice(event['Data'])
|
||||||
self.env['runtime']['inputManager'].updateInputDevices(event['Data'])
|
|
||||||
else:
|
|
||||||
self.env['runtime']['inputManager'].updateInputDevices()
|
|
||||||
self.environment['runtime']['commandManager'].executeDefaultTrigger('onPlugInputDevice', force=True)
|
self.environment['runtime']['commandManager'].executeDefaultTrigger('onPlugInputDevice', force=True)
|
||||||
|
|
||||||
def handleHeartBeat(self, event):
|
def handleHeartBeat(self, event):
|
||||||
|
Loading…
Reference in New Issue
Block a user