RealOrangeOne / yoga-pal

Command line tool for controlling screen rotation on 2-in-1 laptops
https://theorangeone.net/projects/yoga-pal/
MIT License
13 stars 3 forks source link

trackpad not working on yoga 710 #1

Open tttp opened 7 years ago

tttp commented 7 years ago

Hi,

I'm trying the script on a yoga 710, and rotating the screen works fine, but the trackpad isn't:

Rotating Touch Screen...
 unable to find device ELAN Touchscreen

xinput gives


⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ SYNA7501:00 06CB:16D1                     id=11   [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                id=14   [slave  pointer  (2)]

is there a setting to update the device used?
RealOrangeOne commented 7 years ago

There isn't an option for this, no. But it shouldnt be too difficult to modify the script to read from an environment variable rather than a hardcoded device. If you could experiment with this it'd be greatly appreciated!