tree: b704f2430f126881ff395ee5f6a848b59550464a [path history] [tgz]
  1. test_data/
  2. BUILD.gn
  3. consumer_interface.h
  4. defragmenter.cc
  5. defragmenter.h
  6. defragmenter_test.cc
  7. DIR_METADATA
  8. mock_consumers.h
  9. OWNERS
  10. parser.cc
  11. parser.h
  12. parser_test.cc
  13. reader.cc
  14. reader.h
  15. reader_test.cc
  16. README.md
  17. touchraw.h
  18. touchraw_export.h
  19. touchraw_interface.cc
  20. touchraw_interface.h
libtouchraw/README.md

libtouchraw

C++ library to process HID raw data read from /dev/hidraw*.

Design Documentation

See the design doc and the implementation proposal.

Usage

The current supported use case is heatmap data. It helps parse HID packets, defragment them if needed, and synchronize heatmap data with touch coordinates.

This library provides an interface class, which takes a file path(/dev/hidraw*) and a pointer to a consumer queue of this library.