Release host Ctrl on Ctrl+Q
This commit is contained in:
parent
50dd3f3c0e
commit
d0b162c6f2
@ -94,6 +94,7 @@ async def keyboardinp():
|
||||
if button == '37':
|
||||
is_ctrl = True
|
||||
if button == '24' and is_ctrl: # Ctrl+Q
|
||||
print('DISPLAY=:0 xdotool keyup 37') # Release Ctrl
|
||||
sys.exit(0)
|
||||
return
|
||||
|
||||
|
Reference in New Issue
Block a user