mirror of
https://github.com/wassname/thinkpad-x380-yoga-scripts.git
synced 2026-09-12 13:00:29 +08:00
Added touch digitzer to rotate
This commit is contained in:
@@ -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'])]
|
||||
|
||||
Reference in New Issue
Block a user