History log of /fuchsia/zircon/system/utest/hid-parser/hid-parser-test.cpp
Revision Date Author Comments
# 5f3952c6 24-Apr-2018 Erik Gilling <konkers@google.com>

[hid-parser] Add test for acer touch hid.

Change-Id: I99a985ae7ac9babe5758f8ce66578a6c63544cfb


# 30f84d71 30-May-2018 Carlos Pizano <cpu@google.com>

[zircon][hid-parser] handle 32-bit usages

Turns out we have a hid usage in the vendor-defined range
which is > uint16_max. See dev-tbmc.cpp

Now that the hid parser is live in Mozart, this generates "error"
spew in the system logs as the parser did not expect to deal with
this.

For usage ranges, we still keep the 16bit check, out of well
founded fear.

- The fix
- Two new tests

ZX-2180 #comment progress

Change-Id: I23e000d8aee2188fe50024c6c47171dee4af3cb0


# a77a70c2 22-Apr-2018 carlos pizano <cpu@chromium.org>

[zircon][hid] Finishing touches

- The function to free the memory was missing.
- A couple of convenience methods added.

Change-Id: Ib61442628b322fe5c87fecffd7dcf3eced5703cd


# d488040c 27-Dec-2017 Carlos Pizano <cpu@chromium.org>

[system][hid] model generation

Now the hid parser finally generates the output
model and with that a lot of detailed testing
is done.

The testing is a "bit" tedious but bit level
testing is done for:
- boot mouse
- adafruit composite device (4 in 1)
- ps3 joystick

Also a usage header is introduced with hundred
of usages, with keyboard missing because there
is already one for that purpose that needs
fixing.

Change-Id: I7f8cadb3d36f61eb62827e6bd3de8fb8df1e7b28


# 210ce730 10-Dec-2017 Carlos Pizano <cpu@chromium.org>

[system][hid] more guts of hid parser

Features added
- Setting usages on main items
- Handling signed items
- Validation of min/max
- One more report test

Still no output model generated.

Change-Id: I3285867bfb82c1e1faa11d8c1a76a3ab795fe258


# 757519a2 12-Nov-2017 Carlos Pizano <cpu@chromium.org>

[system][hid] guts of the hid parser

The code in this CL is not fully capable of
parsing, notably the output model is not
generated, but it is a good stopping point
for a first review

Thing to review
- Output model (DeviceDescriptor)
- Parsing scheme, global and local state
- Error handling

Testing
- The code manages to consume all test
reports.

Change-Id: I34da523da8437f7feac53be1341803a96feda6a5


# b1f7d54f 22-Oct-2017 Carlos Pizano <cpu@chromium.org>

[system][hid] beginnings of a hid parser

This is based in Tim K's code. This CL introduces the
basic hid report item parser with a minimal testing
harness.

Change-Id: I42bf09ea83622b369e3f5ea16ed0ca5cefbb97c7