Lenovo ThinkPad L380 Yoga
The https://github.com/ffejery/thinkpad-l380-yoga-scripts instead works. See makepkg on how to build it. There is also an AUR: AUR. Remember to edit the
/opt/thinkpad-l380-yoga-scripts/rotate/thinkpad-rotate.py as hinted in the readme, because you will probably want the Touchscreen and Pen to rotate together with the screen.