tree: f100848d106332b8fb341480d2c9e9f63cae6f1a [path history] [tgz]
  1. meta/
  2. test/
  3. BUILD.gn
  4. devices.cc
  5. devices.h
  6. main.cc
  7. printer.h
  8. README.md
src/ui/tools/print-input-report/README.md

print-input-report

A utility that can attach itself to an input device and read the device descriptors or events.

Building and testing

fx set ... --with=//src/ui/tools/print-input-report
fx build
fx test //src/ui/tools/print-input-report

Example use

From the host command line:

fx shell run fuchsia-pkg://fuchsia.com/print-input-report#meta/print-input-report.cmx descriptor /dev/class/input-report/002

Get more help

The invocation below will print usage.

fx shell run fuchsia-pkg://fuchsia.com/print-input-report#meta/print-input-report.cmx