firmware_TouchpadMTB: convert mtplot event file format to evemu format
This CL converts an mtplot event file to an evemu event file. For example,
an event about X position in mtplot file looks like
Event: time 160278.880977, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X),
value 861
where in evemu it looks like
E: 160278.880977 0003 0035 861
BUG=chromium-os:35024
TEST=None. This is a utility for test developers.
Change-Id: Ic51bb8574468d303f1595be4bc965355a89922a7
Reviewed-on: https://gerrit.chromium.org/gerrit/34600
Commit-Ready: Joseph Shyh-In Hwang <josephsih@chromium.org>
Reviewed-by: Joseph Shyh-In Hwang <josephsih@chromium.org>
Tested-by: Joseph Shyh-In Hwang <josephsih@chromium.org>
4 files changed