tools: add missing hid usage table for generic device controls

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
tools: emphasize the problematic item in the error string

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
tools: skip problematic main items

Some devices present a terminating 00.
Cross the fingers and continue.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Do not wait for the first event to create the device

If a hid capture is given without a line starting with "E:", the virtual
device was never created. Add a mask to create it once the setup is
complete.
tools: do not directly print the output, but write them to a file

This allows to redirect the stdout to any file when using parse_* as
a library.
Also extracting parse_hid() from the main.
tools: parse_hid: dumps untreated lines

this allows to reinject in parse_hid the output of parse_hid without
breaking the final output :)
Add .pyc to .gitignore
tools: add plotting tools

These tools allows to plot X/Y with respect to the time.
Currently hid raw events and evtest are supported (in single touch mode).