Remove stipulation that devices must have "Touchpad" in the name

When creating a new platform, it currently requires that the device's
name includes the word "touchpad" in it, which is not the case for
(at least) Lulu.  It's Synaptics touchpad doesn't report that way, so
it doesn't get detected in the list.

This CL removes this constraint, and simply has the tool present all
the devices in /dev/input/event* to the user to choose from.  This is
fine, I think because if the user picks the wrong one they can always
try again and the list is small generally between 5 and 15 devices so
it really isn't much work to sort through manually to find the right
device.

BUG=chromium:523088
TEST=I used this on a Lulu and it set up the platform correctly

Change-Id: Ie91ef1ba37fdfea881d43126961bdfd22b3effbe
Signed-off-by: Charlie Mooney <charliemooney@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/294743
Reviewed-by: Amirhossein Simjour <asimjour@chromium.org>
1 file changed
tree: 7b371fce9070ca733626cc4459f420a95d66fa78
  1. mtbringup/
  2. mtedit/
  3. mtlib/
  4. mtreplay/
  5. mtstat/
  6. platforms/
  7. __init__.py
  8. common.mk
  9. Makefile
  10. PRESUBMIT.cfg