class HidTouch

Defined at line 31 of file ../../src/ui/input/drivers/virtio/input_touch.h

The HidTouch class translates virtio touchscreen events into HID touchscreen events. It does this

by making the virtio touchscreen appear exactly like a Google Pixelbook (Eve) touchscreen. There

is no good reason to use the Google Pixelbook (Eve) touchscreen, other than it is a valid, tested

report descriptor and it was easier to reuse it than building a new report descriptor from

scratch.

Public Members

static const int64_t kXPhysicalMaxMicrometer
static const int64_t kYPhysicalMaxMicrometer

Public Methods

void HidTouch (virtio_input_absinfo_t x_info, virtio_input_absinfo_t y_info)

Defined at line 33 of file ../../src/ui/input/drivers/virtio/input_touch.h

fuchsia_input_report::wire::DeviceDescriptor GetDescriptor (fidl::AnyArena & allocator)

Defined at line 54 of file ../../src/ui/input/drivers/virtio/input_touch.cc

void ReceiveEvent (virtio_input_event_t * event)

Defined at line 84 of file ../../src/ui/input/drivers/virtio/input_touch.cc