Update inputManager.py

This commit is contained in:
chrys87 2018-03-07 14:25:30 +01:00 committed by GitHub
parent 2dc0e21594
commit 1f2527388d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,7 @@ class inputManager():
def getInputEvent(self):
return self.env['runtime']['inputDriver'].getInputEvent()
def handleInputEvent(self, eventData):
self.env['runtime']['debug'].writeDebugOut('DEBUG INPUT inputMan:' + str(eventData),debug.debugLevel.INFO)
if not eventData:
return
self.env['input']['prevInput'] = self.env['input']['currInput'].copy()