make update Rate configurable
This commit is contained in:
@ -13,7 +13,7 @@ class inputManager():
|
||||
def getKeyPressed(self, environment):
|
||||
timeout = True
|
||||
try:
|
||||
r, w, x = select(self.devices, [], [],0.4)
|
||||
r, w, x = select(self.devices, [], [], environment['runtime']['settingsManager'].getSettingAsFloat(environment, 'screen', 'screenUpdateDelay'))
|
||||
environment['runtime']['globalLock'].acquire(True)
|
||||
if r != []:
|
||||
timeout = False
|
||||
|
@ -26,6 +26,7 @@ settings = {
|
||||
},
|
||||
'screen':{
|
||||
'driver': 'linux',
|
||||
'screenUpdateDelay':0.4,
|
||||
},
|
||||
'general':{
|
||||
'keyboardLayout': "desktop",
|
||||
|
Reference in New Issue
Block a user