try to fix key stuck
This commit is contained in:
parent
ea199e85c3
commit
0c02532dba
@ -51,6 +51,8 @@ class inputManager():
|
|||||||
def handleDeviceGrab(self):
|
def handleDeviceGrab(self):
|
||||||
if not self.executeDeviceGrab:
|
if not self.executeDeviceGrab:
|
||||||
return
|
return
|
||||||
|
if self.env['input']['eventBuffer'] != []:
|
||||||
|
return
|
||||||
if not self.noKeyPressed():
|
if not self.noKeyPressed():
|
||||||
return
|
return
|
||||||
if not self.env['runtime']['settingsManager'].getSettingAsBool('keyboard', 'grabDevices'):
|
if not self.env['runtime']['settingsManager'].getSettingAsBool('keyboard', 'grabDevices'):
|
||||||
|
Loading…
Reference in New Issue
Block a user