WTP: cleanup

Change-Id: If8db25920358be2992d17ba837f994a26280e3ed
WTP: Dynamic switch to put in/out of raw mode.

This needs to be tested on a regular Linux system to see if when it's
not in raw mode, it actually works. On Chrome OS, when a device
advertises itself as a touchpad and then behaves like a mouse, the
events are lost.

Change-Id: Ic9446f1e895fe5f68cde2e4d56514786304c63bd