From 148e94c9e3650346c42659494323559ae84a3ea6 Mon Sep 17 00:00:00 2001 From: Ali Alwash Date: Sun, 19 Jan 2025 21:58:12 +0100 Subject: [PATCH] Update turn-off-monitors Add support of touching the screen --- turn-off-monitors | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/turn-off-monitors b/turn-off-monitors index 207cdef..efd4b2c 100755 --- a/turn-off-monitors +++ b/turn-off-monitors @@ -78,6 +78,12 @@ function wait_until_mouse_or_keyboard_event() *"POINTER_MOTION"*) echo "MOUSE_MOVED"; return 0; ;; + *"TOUCH_FRAME"*) + echo "TOUCH_FRAME"; return 0; + ;; + *"TOUCH_MOTION"*) + echo "TOUCH_MOTION"; return 0; + ;; esac done }