Update fenrirManager.py
This commit is contained in:
parent
6df34dd7be
commit
b6853c7cda
@ -166,7 +166,10 @@ class fenrirManager():
|
|||||||
#print('handleScreenUpdate:',time.time() - startTime)
|
#print('handleScreenUpdate:',time.time() - startTime)
|
||||||
|
|
||||||
def handlePlugInputDevice(self, event):
|
def handlePlugInputDevice(self, event):
|
||||||
self.env['runtime']['inputManager'].updateInputDevices(event)
|
if 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