I have the HP Spectre x360 and when I bend the laptop back into tablet mode (360 hinges), usually the keyboard and mouse disables in Windows.
In Ubuntu 15.04 the keyboard successfully disables, but not the trackpad.
What wizardry can I perform to rectify this issue?
Hopefully I could create an actively running script where it listens for particular events (activation of tablet mode) and then disable the track pad once boolean value equals True or something. I could probably get the ball rolling if there was a command out there that would display what component is being used / activated, so I could capture the event ID or something (not sure if this is even possible, just speculating...)