Update inputManager.py

This commit is contained in:
chrys87 2017-02-28 10:38:32 +01:00 committed by GitHub
parent ef950bd214
commit 51c2db5b85

View File

@ -15,6 +15,7 @@ class inputManager():
self.env = environment
self.env['runtime']['settingsManager'].loadDriver(\
self.env['runtime']['settingsManager'].getSetting('keyboard', 'driver'), 'inputDriver')
self.env['runtime']['inputManager'].updateInputDevices()
# init LEDs with current state
self.env['input']['newNumLock'] = self.env['runtime']['inputDriver'].getLedState()
self.env['input']['oldNumLock'] = self.env['input']['newNumLock']