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