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.
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.
Signed-off-by: Charlie Mooney <email@example.com>
1 file changed