clockfort/lenovo-x230-tablet-utilities — pull request #2 by fuhry (2012-09-15 19:09:20+00:00)
Title: Rotation watcher daemon

I wrote a utility that monitors the thinkpad_acpi uinput device for rotation down/up events. Do note that it has to be built setuid root. It opens necessary files (/dev/input/by-path/platform-thinkpad_acpi-event and something in /sys that involves the trackpoint) and then drops back to the UID it was launched with.

It also disables the trackpoint when you rotate down, to avoid cursor creep when putting pressure on the screen. Great design there, Lenovo.