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'])]