class HidTouch
Defined at line 33 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_tx_info,virtio_input_absinfo_ty_info,std::stringproduct_name,std::stringserial_number)
Defined at line 35 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 91 of file ../../src/ui/input/drivers/virtio/input_touch.cc