Hid-recorder: make sure the comments all start with '#'
When recording a multitouch device I get the following:
# ReportID: 3 / Confidence: 0 | Tip Switch: 0 | Contact Id: 0 | # | X: 0 | Y: 0
| Confidence: 0 | Tip Switch: 0 | Contact Id: 0 | # | X: 0 | Y: 0
| Confidence: 0 | Tip Switch: 0 | Contact Id: 0 | # | X: 0 | Y: 0
| Confidence: 0 | Tip Switch: 0 | Contact Id: 0 | # | X: 0 | Y: 0
| Confidence: 0 | Tip Switch: 0 | Contact Id: 0 | # | X: 0 | Y: 0 | Scan Time: 10275 | Contact Count: 0 | Button: 1 | #
E: 000000.836910 30 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 23 28 00 01
# ReportID: 3 / Confidence: 0 | Tip Switch: 0 | Contact Id: 0 | # | X: 0 | Y: 0
| Confidence: 0 | Tip Switch: 0 | Contact Id: 0 | # | X: 0 | Y: 0
| Confidence: 0 | Tip Switch: 0 | Contact Id: 0 | # | X: 0 | Y: 0
| Confidence: 0 | Tip Switch: 0 | Contact Id: 0 | # | X: 0 | Y: 0
| Confidence: 0 | Tip Switch: 0 | Contact Id: 0 | # | X: 0 | Y: 0 | Scan Time: 10346 | Contact Count: 0 | Button: 1 | #
E: 000000.851068 30 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6a 28 00 01
I think the resulting recording will be fine as it will ignore anything not starting with E:
, but the comments are not aligned anymore and should definitively start with #
.