From d0b162c6f27e222b33479e6ce20c13b58d2bacd7 Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Mon, 18 Nov 2019 14:56:53 +1100 Subject: [PATCH] Release host Ctrl on Ctrl+Q --- forward.py | 1 + 1 file changed, 1 insertion(+) diff --git a/forward.py b/forward.py index edeac13..3f78db6 100755 --- a/forward.py +++ b/forward.py @@ -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