No 3 button emulation
Thanks for this!
For some reason the 3 button emulation is not working. The trackpad is disabled but I only have left-click abilities (anywhere on the trackpad). Do you know if this should work for a Thinkpad Yoga 12 running Ubuntu 14.04 with a low-latency kernel (although I'm pretty sure I tried this sorta thing before without a low latency kernel and that still did not work).
Any tips on where to look?
Also, is there an undo script perhaps?
Sorry, I don't know anybody who has tested these scripts on a Thinkpad Yoga 12. The scripts just modify the X server input driver and should also work with a low-latency kernel.
A user in this site reports that his Yoga Thinkpad trackpad does everything correctly by default with the libinput driver. To get this driver, you need to install xserver-xorg-input-libinput which I believe is not available before Ubuntu 15.10.
I assume, you ran trackpad-fix.sh. To undo the script, please downgrade the packages xserver-xorg-input-evdev_* to the version from the repositories (the forum post here explains how to downgrade packages using the Synaptic package manager). If the script did not correctly build the *.deb packages, please let me know why the build failed and I can took a look. In that case, you obviously do not need to worry about downgrading the packages.
Additionally, xserver-xorg-input-synaptics needs to be reinstalled unless it was not installed before.