quickstep: make code Python3 compatible

Most changes were done automatically by `2to3`. Extraneous parentheses
were then removed from some `print` calls, and string encoding/decoding
was added for serial communication.

TEST=`python -m quickstep.qstep /dev/input/event4` with WALT device
BUG=b:233756427

Change-Id: Id73d52fcc503c64003d921ac97738f1892da583a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/touchbot/+/3688036
Tested-by: Sean O'Brien <seobrien@chromium.org>
Owners-Override: Jeffrey Kardatzke <jkardatzke@google.com>
Commit-Queue: Sean O'Brien <seobrien@chromium.org>
Reviewed-by: Kenneth Albanowski <kenalba@google.com>
4 files changed
tree: e2c0af8d46578eacb8a446471b8376b0a71a83dd
  1. optofidelity/
  2. quickstep/
  3. touchbotI/
  4. touchbotII/
  5. .gitignore
  6. OWNERS
  7. setup.py