From b4230a1a650a3cd3055cbb07c1f896e3a441249c Mon Sep 17 00:00:00 2001 From: Aqeel Akber Date: Mon, 1 Jun 2015 12:28:55 +1000 Subject: [PATCH] Added touch digitzer to rotate --- rotate/thinkpad-rotate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rotate/thinkpad-rotate.py b/rotate/thinkpad-rotate.py index 2b89dc4..c8bd31c 100755 --- a/rotate/thinkpad-rotate.py +++ b/rotate/thinkpad-rotate.py @@ -50,7 +50,7 @@ env = environ.copy() devices = check_output(['xinput', '--list', '--name-only'],env=env).splitlines() -touchscreen_names = ['touchscreen'] +touchscreen_names = ['touchscreen', 'touch digitizer'] touchscreens = [i for i in devices if any(j in i.lower() for j in touchscreen_names)] wacoms = [i for i in devices if any(j in i.lower() for j in ['wacom'])]