Touchbot: Making the click gesture more versatile

Previously the click gesture could only accept a single point to click
or tap.  This was a bit of a limitation since you might want to specify
a whole series of clicks.  This allows you to specify any number of xy
pairs on the command line and it will click each one in the order that
they were given.

BUG=chromium-os:36496
TEST=Run "click.py lumpy 0.5 0.5 click" to confirm that it still works
like it used to.  Do that again with "tap".  Then try a series of points
"click.py lumpy 0.1 0.1 0.2 0.2 0.3 0.3 0.4 0.4 0.5 0.5 click" and again
with "tap" to make sure it works with several points.  Finally, try it
with a couple of invalid inputs to make sure that it rejects them and
doesn't do something unexpected.

Change-Id: I2848293f5b9523381b1c9db842c60a47d53b06a7
Signed-off-by: Charlie Mooney <charliemooney@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/38336
1 file changed
tree: 6e33eb88de6161f7596968369479ee0d4844c104
  1. README
  2. documentation/
  3. gestures/
  4. roibot/
  5. setup.py
  6. test/