pfps / yoga-laptop

Systems and information to make Lenovo Yoga laptops work better
GNU General Public License v3.0
156 stars 30 forks source link

Add support for setting the orientation for multiple (up to 5) input … #56

Open benklop opened 7 years ago

benklop commented 7 years ago

…devices.

This change allows the thinkpad helix 2 to rotate the touch and pen input devices by specifying --touchscreen multiple times, once for each device needing rotation. Here's an example, for my helix 2:

orientation --touchscreen="Wacom HID 5014 Finger touch" --touchscreen="Wacom HID 114 Pen stylus" --touchscreen="Wacom HID 114 Pen eraser"

I haven't tried #53, but at first blush, this seems to me like a more flexible and discoverable approach.