class GyroscopeInputDevice

Defined at line 126 of file ../../src/ui/input/drivers/goldfish_sensor/input_device.h

Public Methods

void GyroscopeInputDevice (zx_device_t * parent, async_dispatcher_t * dispatcher, OnDestroyCallback on_destroy)

Creates an GyroscopeInputDevice. Takes an unowned pointer to |parent|.

|parent| must outlive the device that's created.

Defined at line 142 of file ../../src/ui/input/drivers/goldfish_sensor/input_device.h

fpromise::result<InputDevice *, zx_status_t> Create (RootDevice * parent, async_dispatcher_t * dispatcher)

Defined at line 176 of file ../../src/ui/input/drivers/goldfish_sensor/input_device.cc

zx_status_t OnReport (const SensorReport & rpt)

Defined at line 193 of file ../../src/ui/input/drivers/goldfish_sensor/input_device.cc

void GetInputReportsReader (GetInputReportsReaderRequestView request, GetInputReportsReaderCompleter::Sync & completer)

Defined at line 265 of file ../../src/ui/input/drivers/goldfish_sensor/input_device.cc

void GetDescriptor (GetDescriptorCompleter::Sync & completer)

Defined at line 227 of file ../../src/ui/input/drivers/goldfish_sensor/input_device.cc

Records