be more aggressive
This commit is contained in:
parent
d084a11145
commit
cda91a1ab6
@ -63,8 +63,9 @@ class inputManager():
|
||||
if self.ungrabAllDevices():
|
||||
self.executeDeviceGrab = False
|
||||
else:
|
||||
if self.grabAllDevices():
|
||||
self.executeDeviceGrab = False
|
||||
while not self.grabAllDevices():
|
||||
time.sleep(0.2)
|
||||
self.executeDeviceGrab = False
|
||||
def sendKeys(self, keyMacro):
|
||||
for e in keyMacro:
|
||||
key = ''
|
||||
@ -285,7 +286,6 @@ class inputManager():
|
||||
keyName = keyName[4:]
|
||||
self.env['runtime']['outputManager'].presentText(_(keyName), interrupt=True)
|
||||
|
||||
|
||||
def shortcutExists(self, shortcut):
|
||||
return(shortcut in self.env['bindings'])
|
||||
def loadShortcuts(self, kbConfigPath=fenrirPath + '/../../config/keyboard/desktop.conf'):
|
||||
|
Loading…
Reference in New Issue
Block a user