<br />

Added: 7

## **PROTOCOLS**

## InputDevice

*Defined in [fuchsia.input.report/device.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/device.fidl;l=67)*

An `InputDevice` driver represents a single physical input device.
The InputDevice maintains an internal FIFO of `MAX_DEVICE_REPORT_COUNT`
reports for each client that connects. Reports are removed from the FIFO
once they are read by the client. If the FIFO is full, it will drop the
oldest report to make room for an incoming report.

<br />

### GetDescriptor

Gets the device descriptor for this device.

#### Request

\<EMPTY\>

#### Response

| Name | Type |
|---|---|
| `descriptor` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#DeviceDescriptor` |

### GetFeatureReport

Get the feature report for a given device. This requests the state of
the device's features.

#### Request

\<EMPTY\>

#### Response

| Name | Type |
|---|---|
| `payload` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#InputDevice_GetFeatureReport_Result` |

### GetInputReport

For general cases, InputReportReader is the preferred way of getting
InputReports. For devices that don't send InputReports naturally, this
method can be used to request a report from the device type indicated.
Does not block, and returns ZX_ERR_NOT_SUPPORTED if `GetInputReport` or
`device_type` are not supported.
Removed: HEAD

#### Request

| Name | Type |
|---|---|
| `device_type` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#DeviceType` |

#### Response

| Name | Type |
|---|---|
| `payload` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#InputDevice_GetInputReport_Result` |

### GetInputReportsReader

Open a new InputReportsReader on this device. Each reader receives
their own reports.
Deprecated: 32

#### Request

| Name | Type |
|---|---|
| `reader` | `server_end:https://fuchsia.dev/reference/fidl/fuchsia.input.report#InputReportsReader` |

### GetInputReportsReaderV2

Open a new InputReportsReaderV2 on this device. Each reader receives
the full stream of event reports.
Added: 32

#### Request

| Name | Type |
|---|---|
| `reader` | `server_end:https://fuchsia.dev/reference/fidl/fuchsia.input.report#InputReportsReaderV2` |
| `max_unacknowledged_reports_limit` | `uint16` |

#### Response

| Name | Type |
|---|---|
| `max_unacknowledged_reports` | `uint16` |

### SendOutputReport

Send a single output report to the device. This will throw an error
if the output report does not follow the OutputDescriptor.

#### Request

| Name | Type |
|---|---|
| `report` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#OutputReport` |

#### Response

| Name | Type |
|---|---|
| `payload` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#InputDevice_SendOutputReport_Result` |

### SetFeatureReport

Set the feature report for a given device. This sets the state of
the device's features.

#### Request

| Name | Type |
|---|---|
| `report` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#FeatureReport` |

#### Response

| Name | Type |
|---|---|
| `payload` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#InputDevice_SetFeatureReport_Result` |

## InputReportsReader

*Defined in [fuchsia.input.report/device.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/device.fidl;l=25)*

Each `InputReportsReader` has its own FIFO of InputReports that it maintains.
When ReadInputReports is called it drains the InputReports FIFO.
If too many InputReports are created before the FIFO is drained, then
the oldest InputReport will be silently discarded.
Deprecated: 32

<br />

### ReadInputReports

This is a Hanging-Get function to read the reports in the
InputReport FIFO. This will not reply until there is at least one
report available.
If there is already one outstanding Hanging-Get, calling this
again will return ZX_ERR_ALREADY_BOUND.

#### Request

\<EMPTY\>

#### Response

| Name | Type |
|---|---|
| `payload` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#InputReportsReader_ReadInputReports_Result` |

## InputReportsReaderV2

*Defined in [fuchsia.input.report/device.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/device.fidl;l=38)*

A reader protocol that reports input events.
Added: 32

<br />

### AcknowledgeReports

The client has processed events up to `last_acknowledged_report_stamp`.
All reports sent with a `last_report_stamp` less than or equal to
`last_acknowledged_report_stamp` will be considered acknowledged, and therefore
will not count towards the `max_unacknowledged_reports` limit.

#### Request

| Name | Type |
|---|---|
| `last_acknowledged_report_stamp` | `uint64` |

### OnInputReports

The device pushes events to the client.
The client does not need to acknowledge every report; it can allow multiple
reports to be in flight up to `max_unacknowledged_reports`.

Streaming begins automatically on connection.

#### Response

| Name | Type |
|---|---|
| `reports` | `vector<https://fuchsia.dev/reference/fidl/fuchsia.input.report#InputReport>:50` |
| `last_report_stamp` | `uint64` |

## **STRUCTS**

### InputDevice_GetFeatureReport_Response

*Defined in [fuchsia.input.report/device.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/device.fidl;l=112)*

| Field | Type | Description | Default |
|---|---|---|---|
| `report` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#FeatureReport` |   | No default |

### InputDevice_GetInputReport_Response [resource](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#value-vs-resource)

*Defined in [fuchsia.input.report/device.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/device.fidl;l=130)*

| Field | Type | Description | Default |
|---|---|---|---|
| `report` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#InputReport` |   | No default |

### InputDevice_SendOutputReport_Response

*Defined in [fuchsia.input.report/device.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/device.fidl;l=108)*

\<EMPTY\>

### InputDevice_SetFeatureReport_Response

*Defined in [fuchsia.input.report/device.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/device.fidl;l=120)*

\<EMPTY\>

### InputReportsReader_ReadInputReports_Response [resource](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#value-vs-resource)

*Defined in [fuchsia.input.report/device.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/device.fidl;l=31)*

| Field | Type | Description | Default |
|---|---|---|---|
| `reports` | `vector<https://fuchsia.dev/reference/fidl/fuchsia.input.report#InputReport>:50` |   | No default |

### SensorAxis

*Defined in [fuchsia.input.report/sensor.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/sensor.fidl;l=47)*

A `SensorAxis` is a normal `Axis` with an additional `SensorType` to describe what the
axis is measuring.

<br />

| Field | Type | Description | Default |
|---|---|---|---|
| `axis` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#Axis` |   | No default |
| `type` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#SensorType` |   | No default |

## **ENUMS**

### DeviceType [flexible](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

Type: `uint32`

*Defined in [fuchsia.input.report/device.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/device.fidl;l=12)*

The InputReport field to be populated by InputDevice.GetInputReport.
Removed: HEAD

<br />

| Name | Value | Description |
|---|---|---|
| ### MOUSE | `0` |   |
| ### SENSOR | `1` |   |
| ### TOUCH | `2` |   |
| ### KEYBOARD | `3` |   |
| ### CONSUMER_CONTROL | `4` |   |

### LedType [flexible](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

Type: `uint32`

*Defined in [fuchsia.input.report/led.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/led.fidl;l=10)*

An LedType represents an LED on a device that can be turned on or off.
When applicable, the definition of each LED is derived from one of the
following sources albeit with a Fuchsia-specific numeric value:

- USB HID usage codes for usage page 0x0008 (LED)

<br />

| Name | Value | Description |
|---|---|---|
| ### NUM_LOCK | `1` | LED to indicate a Keyboard's number lock is enabled. Corresponds to USB HID page 0x0008 usage 0x0001 |
| ### CAPS_LOCK | `2` | LED to indicate a Keyboard's capital lock is enabled. Corresponds to USB HID page 0x0008 usage 0x0002 |
| ### SCROLL_LOCK | `3` | LED to indicate a Keyboard's scroll lock is enabled. Corresponds to USB HID page 0x0008 usage 0x0003 |
| ### COMPOSE | `4` | LED to indicate a Keyboard's composition mode is enabled. Corresponds to USB HID page 0x0008 usage 0x0004 |
| ### KANA | `5` | LED to indicate a Keyboard's Kana mode is enabled. Corresponds to USB HID page 0x0008 usage 0x0005 |

### SensorReportingState [flexible](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

Type: `uint32`

*Defined in [fuchsia.input.report/sensor.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/sensor.fidl;l=69)*

`SensorReportingState` determines when a sensor will send reports.

<br />

| Name | Value | Description |
|---|---|---|
| ### REPORT_NO_EVENTS | `1` | No events will be sent from the sensor. |
| ### REPORT_ALL_EVENTS | `2` | All events will be sent from the sensor. For most sensors, this frequency can be set by `report_interval`. |
| ### REPORT_THRESHOLD_EVENTS | `3` | Only events that cross a threshold will be reported. |

### SensorType [flexible](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

Type: `uint32`

*Defined in [fuchsia.input.report/sensor.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/sensor.fidl;l=16)*

Each sensor value has a corresponding SensorType, which explains what the
value is measuring in the world.

<br />

| Name | Value | Description |
|---|---|---|
| ### ACCELEROMETER_X | `1` | Acceleration on the X axis. |
| ### ACCELEROMETER_Y | `2` | Acceleration on the Y axis. |
| ### ACCELEROMETER_Z | `3` | Acceleration on the Z axis. |
| ### MAGNETOMETER_X | `4` | Strength of the Magnetic Field in the X axis. |
| ### MAGNETOMETER_Y | `5` | Strength of the Magnetic Field in the Y axis. |
| ### MAGNETOMETER_Z | `6` | Strength of the Magnetic Field in the Z axis. |
| ### GYROSCOPE_X | `7` | Angular Velocity in the X direction moving counter-clockwise. |
| ### GYROSCOPE_Y | `8` | Angular Velocity in the Y direction moving counter-clockwise. |
| ### GYROSCOPE_Z | `9` | Angular Velocity in the Z direction moving counter-clockwise. |
| ### LIGHT_ILLUMINANCE | `10` | Ambient level of Light. |
| ### LIGHT_RED | `11` | Ambient level of Red Light. |
| ### LIGHT_GREEN | `12` | Ambient level of Green Light. |
| ### LIGHT_BLUE | `13` | Ambient level of Blue Light. |

### TouchButton [flexible](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

Type: `uint8`

*Defined in [fuchsia.input.report/touch.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/touch.fidl;l=170)*
Added: 28

<br />

| Name | Value | Description |
|---|---|---|
| ### PALM | `1` | Represents palm on touchscreen. |
| ### SWIPE_UP | `2` | Represents a swipe up gesture on the touchscreen. Added: 31 |
| ### SWIPE_LEFT | `3` | Represents a swipe left gesture on the touchscreen. Added: 31 |
| ### SWIPE_RIGHT | `4` | Represents a swipe right gesture on the touchscreen. Added: 31 |
| ### SWIPE_DOWN | `5` | Represents a swipe down gesture on the touchscreen. Added: 31 |

### TouchConfigurationInputMode [flexible](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

Type: `uint32`

*Defined in [fuchsia.input.report/touch.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/touch.fidl;l=89)*

Input mode indicating which top-level collection should be used for input reporting.
These values must correspond to the input modes defined in 16.7 of the HID Usage Tables
for Universal Serial Bus (USB) Spec (https://usb.org/sites/default/files/hut1_22.pdf).

<br />

| Name | Value | Description |
|---|---|---|
| ### MOUSE_COLLECTION | `0` | Use the Mouse Collection for reporting data. |
| ### WINDOWS_PRECISION_TOUCHPAD_COLLECTION | `3` | Use the Windows Precision Touchpad Collection for reporting data. Defined by Windows Precision Touchpad Required HID Top-Level Collections: https://docs.microsoft.com/ en-us/windows-hardware/design/component-guidelines/windows-precision-touchpad-required -hid-top-level-collections). |

### TouchType [flexible](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

Type: `uint32`

*Defined in [fuchsia.input.report/touch.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/touch.fidl;l=24)*

The device type from which the touch originated.

<br />

| Name | Value | Description |
|---|---|---|
| ### TOUCHSCREEN | `1` | A touch screen has direct finger input associated with a display. |
| ### TOUCHPAD | `2` | A touch pad is a pointer device that tracks finger positions. |

### VendorGoogleProductId [flexible](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

Type: `uint32`

*Defined in [fuchsia.input.report/device_ids.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/device_ids.fidl;l=19)*

Below are ProductIds which represents which product this Input device represents. If the
Input device is a HID device, the ProductId maps directly to the HID
ProductId. If the Input device is not a HID device, then the ProductId
will be greater than 0xFFFF, which is the max HID ProductId.

<br />

| Name | Value | Description |
|---|---|---|
| ### FOCALTECH_TOUCHSCREEN | `65537` | Below are the non-HID VendorIds |
| ### AMS_LIGHT_SENSOR | `65538` |   |
| ### PC_PS2_KEYBOARD | `65539` |   |
| ### PC_PS2_MOUSE | `65540` |   |
| ### ADC_BUTTONS | `65541` | Added: HEAD |
| ### GOODIX_TOUCHSCREEN | `65542` | Added: HEAD |
| ### HID_BUTTONS | `65543` | Added: HEAD |
| ### VIRTIO_MOUSE | `65544` | Added: HEAD |
| ### VIRTIO_KEYBOARD | `65545` | Added: HEAD |
| ### VIRTIO_TOUCHSCREEN | `65546` | Added: HEAD |
| ### GOLDFISH_ACCELERATION_SENSOR | `2417819649` |   |
| ### GOLDFISH_GYROSCOPE_SENSOR | `2417819650` |   |
| ### GOLDFISH_RGBC_LIGHT_SENSOR | `2417819651` |   |

### VendorId [flexible](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

Type: `uint32`

*Defined in [fuchsia.input.report/device_ids.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/device_ids.fidl;l=10)*

The VendorId represents the vendor that created this Input device. If the
Input device is a HID device, the VendorId maps directly to the HID
VendorId. If the Input device is not a HID device, then the VendorId
will be greater than 0xFFFF, which is the max HID VendorId.

<br />

| Name | Value | Description |
|---|---|---|
| ### GOOGLE | `6353` | Below are the HID VendorIds, range 0x0000 - 0xFFFF. |

## **TABLES**

### ConsumerControlDescriptor

*Defined in [fuchsia.input.report/consumer_control.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/consumer_control.fidl;l=64)*

A Fuchsia ConsumerControl represents a device thats purpose is to change
values on the host. Typical controls are Volume, Power, Media Playback.
(Consider a TV remote to be a typical ConsumerControl).

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `input` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#ConsumerControlInputDescriptor` |   |

### ConsumerControlInputDescriptor

*Defined in [fuchsia.input.report/consumer_control.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/consumer_control.fidl;l=56)*

Describes the format of the input report that will be sent from the
ConsumerControl device to the host.

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `buttons` | `vector<https://fuchsia.dev/reference/fidl/fuchsia.input.report#ConsumerControlButton>:255` | The list of buttons that this device contains. |

### ConsumerControlInputReport

*Defined in [fuchsia.input.report/consumer_control.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/consumer_control.fidl;l=69)*

A single report created by a ConsumerControl device.

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `pressed_buttons` | `vector<https://fuchsia.dev/reference/fidl/fuchsia.input.report#ConsumerControlButton>:255` | The list of buttons that are currently pressed down. |

### ContactInputDescriptor

*Defined in [fuchsia.input.report/touch.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/touch.fidl;l=32)*

`ContactInputDescriptor` describes the fields associated with a touch on a touch device.

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `position_x` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#Axis` | Describes the reporting of the x-axis. Required. |
| ### 2 | `position_y` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#Axis` | Describes the reporting of the y-axis. Required. |
| ### 3 | `pressure` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#Axis` | Pressure of the contact. Optional. |
| ### 4 | `contact_width` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#Axis` | Width of the area of contact. Optional. |
| ### 5 | `contact_height` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#Axis` | Height of the area of contact. Optional. |

### ContactInputReport

*Defined in [fuchsia.input.report/touch.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/touch.fidl;l=123)*

`ContactInputReport` describes one touch on a touch device.

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `contact_id` | `uint32` | Identifier for this contact. Required. |
| ### 2 | `position_x` | `int64` | A contact's position on the x axis. Required. |
| ### 3 | `position_y` | `int64` | A contact's position on the y axis. Required. |
| ### 4 | `pressure` | `int64` | Pressure of the contact. Required iff `pressure` is present in the descriptor. |
| ### 5 | `contact_width` | `int64` | Width of the bounding box around the touch contact. Combined with `contact_height`, this describes the area of the touch contact. `contact_width` and `contact_height` should both have units of distance, and they should be in the same units as `position_x` and `position_y`. Required iff `contact_width` is present in the descriptor. |
| ### 6 | `contact_height` | `int64` | Height of the bounding box around the touch contact. Combined with `contact_width`, this describes the area of the touch contact. `contact_width` and `contact_height` should both have units of distance, and they should be in the same units as `position_x` and `position_y`. Required iff `contact_height` is present in the descriptor. |
| ### 7 | `confidence` | `bool` | Also known as touch valid. Indicates the device's confidence that the touch contact was an intended, valid contact. The device should report 0 if the contact is not a valid touch. The device should report 1 if the contact is intended and valid (e.g. a pointing touch). Optional. |

### DeviceDescriptor

*Defined in [fuchsia.input.report/descriptor.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/descriptor.fidl;l=51)*

`DeviceDescriptor` describes a physical input device. Some physical devices may
send multiple types of reports (E.g: a physical touchscreen can send touch and
stylus reports, so it will have both a TouchDescriptor and a StylusDescriptor).

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 2 | `mouse` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#MouseDescriptor` | Describes the mouse part of the device. Optional. Present iff the device is/has a mouse. |
| ### 3 | `sensor` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#SensorDescriptor` | Describes the sensor part of the device. Optional. Present iff the device is/has a sensor. |
| ### 4 | `touch` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#TouchDescriptor` | Describes the touch part (such as a touchscreen or touchpad) of the device. Optional. Present iff the device is/has a touch device. |
| ### 5 | `keyboard` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#KeyboardDescriptor` | Describes the keyboard part of the device. Optional. Present iff the device is/has a keyboard. |
| ### 6 | `consumer_control` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#ConsumerControlDescriptor` | Describes the consumer control part of the device. Optional. Present iff the device is/has a consumer control device. |
| ### 7 | `device_information` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#DeviceInformation` | Identifies the physical device. Required. |

### DeviceInformation

*Defined in [fuchsia.input.report/descriptor.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/descriptor.fidl;l=17)*

DeviceInformation provides more information about the device and lets a
client distinguish between devices (e.g between two touchscreens that come
from different vendors). If the device is a HID device, then the id
information will come from the device itself. Other, non-HID devices may
assign the ids in the driver, so it will be the driver author's
responsibility to assign sensible ids.

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `vendor_id` | `uint32` | Required. |
| ### 2 | `product_id` | `uint32` | Required. |
| ### 3 | `version` | `uint32` | Optional. |
| ### 4 | `polling_rate` | `https://fuchsia.dev/reference/zx//https://fuchsia.dev/reference/zx#Duration` | The time interval between each poll of the device. Optional. |
| ### 5 | `manufacturer_name` | `string:256` | Human-readable name of the manufacturer. Optional. Must be non-empty if present. Added: HEAD |
| ### 6 | `product_name` | `string:256` | Human-readable name of the product. Optional. Must be non-empty if present. Added: HEAD |
| ### 7 | `serial_number` | `string:256` | Serial number of the device. Optional. Must be non-empty if present. Added: HEAD |

### FeatureReport

*Defined in [fuchsia.input.report/report.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/report.fidl;l=63)*

A single report containing the feature information for an input device.
Feature reports obtained from the device show the current state of the
device. Sending a feature report to the device sets the device in that
state.

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `sensor` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#SensorFeatureReport` | Optional. Present iff the device is/has a sensor. |
| ### 2 | `touch` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#TouchFeatureReport` | Optional. Present iff the device is/has a touch device. |

### InputReport [resource](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#value-vs-resource)

*Defined in [fuchsia.input.report/report.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/report.fidl;l=12)*

An `InputReport` is a single report that is created by an input device.
An `InputReport` can contain one of many different report types. The report
types are not mutually exclusive. The `event_time` is the time in
nanoseconds when the report was generated.

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `event_time` | `https://fuchsia.dev/reference/zx//https://fuchsia.dev/reference/zx#Time` | The monotonic time when the event was generated. Required. |
| ### 2 | `mouse` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#MouseInputReport` | Optional. Present iff the device reports mouse input. |
| ### 3 | `trace_id` | `uint64` | Unique ID to connect trace async begin/end events. Optional. |
| ### 4 | `sensor` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#SensorInputReport` | Optional. Present iff the device reports sensor input. |
| ### 5 | `touch` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#TouchInputReport` | Optional. Present iff the device reports touch input. |
| ### 6 | `keyboard` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#KeyboardInputReport` | Optional. Present iff the device reports keyboard input. |
| ### 7 | `consumer_control` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#ConsumerControlInputReport` | Optional. Present iff the device reports consumer control input. |
| ### 8 | `report_id` | `uint8` | A device may have multiple input descriptors of the same type. This field specifies which descriptor this InputReport corresponds to. Omitted if the device has no more than one descriptor for each type. Optional. |
| ### 9 | `wake_lease` | `handle<eventpair>` | Optional wake lease for power baton passing. Added: 32 |

### KeyboardDescriptor

*Defined in [fuchsia.input.report/keyboard.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/keyboard.fidl;l=34)*

The capabilities of a keyboard device.

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `input` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#KeyboardInputDescriptor` | Required. |
| ### 2 | `output` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#KeyboardOutputDescriptor` | Optional. Present iff the keyboard supports output. |

### KeyboardInputDescriptor

*Defined in [fuchsia.input.report/keyboard.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/keyboard.fidl;l=16)*

Describes the format of the input report that will be sent from the keyboard
to the device.

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 2 | `keys3` | `vector<https://fuchsia.dev/reference/fuchsia.input//https://fuchsia.dev/reference/fuchsia.input#Key>:256` | The list of keys that this keyboard contains. Must be non-empty. Required. |

### KeyboardInputReport

*Defined in [fuchsia.input.report/keyboard.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/keyboard.fidl;l=43)*

A single report created by a keyboard device.

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 2 | `pressed_keys3` | `vector<https://fuchsia.dev/reference/fuchsia.input//https://fuchsia.dev/reference/fuchsia.input#Key>:256` | The list of keys that are currently pressed down. Required. Empty iff no keys are pressed. |

### KeyboardOutputDescriptor

*Defined in [fuchsia.input.report/keyboard.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/keyboard.fidl;l=26)*

Describes the format of the output report that can be sent to the keyboard.

At least one of the fields below must be present.

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `leds` | `vector<https://fuchsia.dev/reference/fidl/fuchsia.input.report#LedType>:256` | The list of keyboard LEDs that can be toggled. Optional. Present iff the device has LEDs. |

### KeyboardOutputReport

*Defined in [fuchsia.input.report/keyboard.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/keyboard.fidl;l=53)*

A single report containing output information for a keyboard.

At least one of the fields below must be present.

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `enabled_leds` | `vector<https://fuchsia.dev/reference/fidl/fuchsia.input.report#LedType>:256` | The device's LEDs will be on iff contained in this list. Optional. Present iff `leds` is present in `KeyboardOutputDescriptor`. |

### MouseDescriptor

*Defined in [fuchsia.input.report/mouse.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/mouse.fidl;l=62)*

The capabilities of a mouse device.

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `input` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#MouseInputDescriptor` | Describes the input capabilities of the device. Required. |

### MouseInputDescriptor

*Defined in [fuchsia.input.report/mouse.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/mouse.fidl;l=21)*

Describes the format of the input report that will be sent from the mouse
to the device.

At least one of the fields below must be present.

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `movement_x` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#Axis` | The range of relative X movement. Optional. Present iff the mouse reports relative X movement. |
| ### 2 | `movement_y` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#Axis` | The range of relative Y movement. Optional. Present iff the mouse reports relative Y movement. |
| ### 3 | `scroll_v` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#Axis` | The range of relative vertical scroll. Optional. Present iff the mouse reports relative vertical scroll. |
| ### 4 | `scroll_h` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#Axis` | The range of relative horizontal scroll. Optional. Present iff the mouse reports relative horizontal scroll. |
| ### 5 | `buttons` | `vector<uint8>:32` | IDs of the mouse buttons. Optional. Present iff the mouse reports button state. Must be non-empty if present. |
| ### 6 | `position_x` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#Axis` | The range of the position of X. The main use of position is from virtual mice like over VNC. Optional. Present iff the mouse reports absolute X position. |
| ### 7 | `position_y` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#Axis` | The range of the position of Y. The main use of position is from virtual mice like over VNC. Optional. Present iff the mouse reports absolute Y position. |

### MouseInputReport

*Defined in [fuchsia.input.report/mouse.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/mouse.fidl;l=75)*

`MouseReport` gives the relative movement of the mouse and currently
pressed buttons. Relative means the movement seen between the previous
report and this report. The client is responsible for tracking this and
converting it to absolute movement.

At least one of the fields below must be present.

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `movement_x` | `int64` | Relative X positional displacement. Optional. Present iff the mouse reports relative X movement. Must not co-exist with `position_x` and `position_y`. |
| ### 2 | `movement_y` | `int64` | Relative Y positional displacement. Optional. Present iff the mouse reports relative Y movement. Must not co-exist with `position_x` and `position_y`. |
| ### 3 | `scroll_v` | `int64` | Relative vertical scrolling displacement. Optional. Present iff the mouse reports relative vertical scroll. |
| ### 4 | `scroll_h` | `int64` | Relative horizontal scrolling displacement. Optional. Present iff the mouse reports relative horizontal scroll. |
| ### 5 | `pressed_buttons` | `vector<uint8>:32` | A list of currently pressed buttons. Optional. Empty iff no button is pressed. Present iff the mouse reports button state. |
| ### 6 | `position_x` | `int64` | The position of X. The main use of position is from virtual mice like over VNC. Optional. Present iff the mouse reports absolute X position. Must not co-exist with `movement_x` and `movement_y`. |
| ### 7 | `position_y` | `int64` | The position of Y. The main use of position is from virtual mice like over VNC. Optional. Present iff the mouse reports absolute Y position. Must not co-exist with `movement_x` and `movement_y`. |

### OutputDescriptor

*Defined in [fuchsia.input.report/descriptor.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/descriptor.fidl;l=87)*

Describes the output reports that a physical input device will accept.
Output information typically represents device output to the user
(E.g: LEDs, tactile feedback, etc).

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `keyboard` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#KeyboardOutputDescriptor` | Describes the keyboard output part of the device. Optional. Present iff the device is/has a keyboard. |

### OutputReport

*Defined in [fuchsia.input.report/report.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/report.fidl;l=54)*

A single report containing output information for an input device.
Output information typically represents device output to the user
(E.g: LEDs, tactile feedback, etc).

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `keyboard` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#KeyboardOutputReport` | Optional. Present iff the device is/has a keyboard. |

### SelectiveReportingFeatureReport

*Defined in [fuchsia.input.report/touch.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/touch.fidl;l=209)*

Selective Reporting Feature Report indicating which types of input are reported.

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `surface_switch` | `bool` | If this is true, the device will report surface contacts. |
| ### 2 | `button_switch` | `bool` | If this is true, the device will report button state. |

### SensorDescriptor

*Defined in [fuchsia.input.report/sensor.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/sensor.fidl;l=128)*

The capabilities of a sensor device.

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `input` | `vector<https://fuchsia.dev/reference/fidl/fuchsia.input.report#SensorInputDescriptor>:255` | Input descriptors. Must not be empty. |
| ### 2 | `feature` | `vector<https://fuchsia.dev/reference/fidl/fuchsia.input.report#SensorFeatureDescriptor>:255` | Feature descriptors. Optional. Present iff sensor supports getting/setting features of the sensor. |

### SensorFeatureDescriptor

*Defined in [fuchsia.input.report/sensor.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/sensor.fidl;l=83)*

Describes the format of the sensor's feature report. Feature reports can be
requested from the sensor, or sent to the sensor.

At least one of the fields below must be present.

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `report_interval` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#Axis` | Valid range of the reporting interval for the given `SensorType`. Optional. Present iff sensor supports getting/setting the reporting interval. |
| ### 2 | `sensitivity` | `vector<https://fuchsia.dev/reference/fidl/fuchsia.input.report#SensorAxis>:100` | Valid range of the sensitivity for the given `SensorType`. Optional. Present iff sensor supports getting/setting the sensitivity. |
| ### 3 | `supports_reporting_state` | `bool` | True iff `SensorFeatureReport` supports setting/getting the `SensorReportingState`. Optional. Present iff sensor supports getting/setting the reporting state. |
| ### 4 | `threshold_high` | `vector<https://fuchsia.dev/reference/fidl/fuchsia.input.report#SensorAxis>:100` | Valid range of the high threshold values for the given `SensorType`. Optional. Present iff sensor supports getting/setting the high threshold values. |
| ### 5 | `threshold_low` | `vector<https://fuchsia.dev/reference/fidl/fuchsia.input.report#SensorAxis>:100` | Valid range of the low threshold values for the given `SensorType`. Optional. Present iff sensor supports getting/setting the low threshold values. |
| ### 6 | `sampling_rate` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#Axis` | Valid range of sampling rates this sensor supports. Optional. Present iff sensor supports getting/setting the sampling rate. |
| ### 7 | `report_id` | `uint8` | A sensor may have multiple feature descriptors of the same type. Reports with the same report ID are associated with this descriptor. Required iff the sensor has more than one feature descriptors. |

### SensorFeatureReport

*Defined in [fuchsia.input.report/sensor.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/sensor.fidl;l=156)*

A SensorFeatureReport describes the features of a given sensor. If a
FeatureReport is sent to the Input Device it sets the configuration of the device.
If a FeatureReport is requested from the Input Device it shows the device's
current configuration.

At least one of the fields below must be present.

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `report_interval` | `int64` | The time between reports sent by the sensor, in microseconds. Must fall within the range specified in the descriptor's `report_interval`. Optional. |
| ### 2 | `sensitivity` | `vector<int64>:100` | The sensitivity for various `SensorType`. The order of the values must match the sensor axes in `SensorDescriptor`. Must fall within the range specified in the descriptor's `sensitivity`. Optional. |
| ### 3 | `reporting_state` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#SensorReportingState` | Determines when the sensor will send reports. Optional. |
| ### 4 | `threshold_high` | `vector<int64>:100` | The high thresholds for various `SensorType`. The order must match the sensor axes in `SensorDescriptor`. Must fall within the range specified in the descriptor's `threshold_high`. Optional. |
| ### 5 | `threshold_low` | `vector<int64>:100` | The low thresholds for various `SensorType`. The order must match the sensor axes in `SensorDescriptor`. Optional. |
| ### 6 | `sampling_rate` | `int64` | The rate at which the sensor is sampled. Optional. |

### SensorInputDescriptor

*Defined in [fuchsia.input.report/sensor.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/sensor.fidl;l=54)*

Describes the format of the input report that will be sent from the sensor
to the device.

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `values` | `vector<https://fuchsia.dev/reference/fidl/fuchsia.input.report#SensorAxis>:100` | Describes the ranges of the values that the sensor device reports. Must not be empty. Required. |
| ### 2 | `report_id` | `uint8` | A sensor may have multiple input descriptors of the same type. Reports with the same report ID are associated with this descriptor. Required iff the sensor has more than one input descriptors. |

### SensorInputReport

*Defined in [fuchsia.input.report/sensor.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/sensor.fidl;l=142)*

`SensorReport` gives the values measured by a sensor at a given point in time.

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `values` | `vector<int64>:100` | The size and ordering of `values` must match the sensor axes in `SensorDescriptor`. Required. |

### TouchDescriptor

*Defined in [fuchsia.input.report/touch.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/touch.fidl;l=110)*

The capabilities of a touch device.

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `input` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#TouchInputDescriptor` | Input descriptors. Required. |
| ### 2 | `feature` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#TouchFeatureDescriptor` | Feature descriptors. Optional. Present iff the touch device has getable/setable features. |

### TouchFeatureDescriptor

*Defined in [fuchsia.input.report/touch.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/touch.fidl;l=101)*

Describes the format of the touchpad configuration's feature report. Feature reports
can be requested from the touchpad, or sent to the touchpad.

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `supports_input_mode` | `bool` | Indicates whether or not touch feature descriptor supports different input modes. |
| ### 2 | `supports_selective_reporting` | `bool` | Indicates whether or not touch feature descriptor supports selective reporting. |

### TouchFeatureReport

*Defined in [fuchsia.input.report/touch.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/touch.fidl;l=221)*

A TouchFeatureReport describes the features of a given touch device. If a
FeatureReport is sent to the Input Device it sets the configuration of the device.
If a FeatureReport is requested from the Input Device it shows the device's
current configuration.

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `input_mode` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#TouchConfigurationInputMode` | The input mode currently reporting. |
| ### 2 | `selective_reporting` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#SelectiveReportingFeatureReport` | The current report types being reported. |

### TouchInputDescriptor

*Defined in [fuchsia.input.report/touch.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/touch.fidl;l=61)*

Describes the format of the input report that will be sent from the keyboard
to the device.

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `contacts` | `vector<https://fuchsia.dev/reference/fidl/fuchsia.input.report#ContactInputDescriptor>:10` | The contact descriptors associated with this touch descriptor. Required. Must not be empty. |
| ### 2 | `max_contacts` | `uint32` | The max number of contacts that this touch device can report at once. Required. |
| ### 3 | `touch_type` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#TouchType` | The type of touch device being used. Required. |
| ### 4 | `buttons` | `vector<https://fuchsia.dev/reference/fidl/fuchsia.input.report#TouchButton>:10` | Added: 28 |

### TouchInputReport

*Defined in [fuchsia.input.report/touch.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/touch.fidl;l=192)*

`TouchInputReport` describes the current contacts recorded by the touchscreen.

<br />

| Ordinal | Field | Type | Description |
|---|---|---|---|
| ### 1 | `contacts` | `vector<https://fuchsia.dev/reference/fidl/fuchsia.input.report#ContactInputReport>:10` | The contacts currently being reported by the device. Required. Empty iff there is no active contact. |
| ### 2 | `pressed_buttons` | `vector<https://fuchsia.dev/reference/fidl/fuchsia.input.report#TouchButton>:10` | Added: 28 |

## **UNIONS**

### InputDevice_GetFeatureReport_Result [strict](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

*Defined in [fuchsia.input.report/device.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/device.fidl;l=112)*

| Ordinal | Variant | Type | Description |
|---|---|---|---|
| ### 1 | `response` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#InputDevice_GetFeatureReport_Response` |   |
| ### 2 | `err` | `https://fuchsia.dev/reference/zx//https://fuchsia.dev/reference/zx#Status` |   |

<br />

### InputDevice_GetInputReport_Result [strict](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible) [resource](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#value-vs-resource)

*Defined in [fuchsia.input.report/device.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/device.fidl;l=130)*

| Ordinal | Variant | Type | Description |
|---|---|---|---|
| ### 1 | `response` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#InputDevice_GetInputReport_Response` |   |
| ### 2 | `err` | `https://fuchsia.dev/reference/zx//https://fuchsia.dev/reference/zx#Status` |   |

<br />

### InputDevice_SendOutputReport_Result [strict](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

*Defined in [fuchsia.input.report/device.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/device.fidl;l=108)*

| Ordinal | Variant | Type | Description |
|---|---|---|---|
| ### 1 | `response` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#InputDevice_SendOutputReport_Response` |   |
| ### 2 | `err` | `https://fuchsia.dev/reference/zx//https://fuchsia.dev/reference/zx#Status` |   |

<br />

### InputDevice_SetFeatureReport_Result [strict](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible)

*Defined in [fuchsia.input.report/device.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/device.fidl;l=120)*

| Ordinal | Variant | Type | Description |
|---|---|---|---|
| ### 1 | `response` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#InputDevice_SetFeatureReport_Response` |   |
| ### 2 | `err` | `https://fuchsia.dev/reference/zx//https://fuchsia.dev/reference/zx#Status` |   |

<br />

### InputReportsReader_ReadInputReports_Result [strict](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#strict-vs-flexible) [resource](https://fuchsia.dev/fuchsia-src/reference/fidl/language/language#value-vs-resource)

*Defined in [fuchsia.input.report/device.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/device.fidl;l=31)*

| Ordinal | Variant | Type | Description |
|---|---|---|---|
| ### 1 | `response` | `https://fuchsia.dev/reference/fidl/fuchsia.input.report#InputReportsReader_ReadInputReports_Response` |   |
| ### 2 | `err` | `https://fuchsia.dev/reference/zx//https://fuchsia.dev/reference/zx#Status` |   |

<br />

## **CONSTANTS**

| Name | Value | Type | Description |
|---|---|---|---|
| [CONSUMER_CONTROL_MAX_NUM_BUTTONS](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/consumer_control.fidl;l=15) | `https://fuchsia.dev/reference/fuchsia.input//https://fuchsia.dev/reference/fuchsia.input#CONSUMER_CONTROL_MAX_NUM_BUTTONS` | `uint32` | Added: 32 |
| [KEYBOARD_MAX_NUM_KEYS](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/keyboard.fidl;l=10) | `256` | `uint32` | Hardcoded max sizes for keyboard vectors. These sizes should be increased if we ever see keyboards with more objects than can be represented. |
| [KEYBOARD_MAX_NUM_LEDS](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/keyboard.fidl;l=11) | `256` | `uint32` |   |
| [KEYBOARD_MAX_PRESSED_KEYS](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/keyboard.fidl;l=12) | `256` | `uint32` |   |
| [MAX_DEVICE_REPORT_COUNT](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/device.fidl;l=8) | `50` | `uint32` |   |
| [MAX_NAME_LENGTH](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/descriptor.fidl;l=9) | `256` | `uint32` | Added: HEAD |
| [MAX_REPORT_COUNT](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/sensor.fidl;l=8) | `255` | `uint32` | A hardcoded number of max reports. Because report ID is only 8 bits, only 255 different reports are allowed at a time. |
| [MOUSE_MAX_NUM_BUTTONS](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/mouse.fidl;l=15) | `https://fuchsia.dev/reference/fuchsia.input//https://fuchsia.dev/reference/fuchsia.input#MOUSE_MAX_NUM_BUTTONS` | `uint32` | Added: 32 |
| [SENSOR_MAX_VALUES](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/sensor.fidl;l=12) | `100` | `uint32` | A hardcoded number of max sensor values. This should be increased in the future if we ever see a sensor with more values. |
| [TOUCH_MAX_CONTACTS](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/touch.fidl;l=15) | `https://fuchsia.dev/reference/fuchsia.input//https://fuchsia.dev/reference/fuchsia.input#TOUCH_MAX_CONTACTS` | `uint32` | Added: 32 |
| [TOUCH_MAX_NUM_BUTTONS](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/touch.fidl;l=21) | `https://fuchsia.dev/reference/fuchsia.input//https://fuchsia.dev/reference/fuchsia.input#TOUCH_MAX_NUM_BUTTONS` | `uint32` | Added: 32 |

## **ALIASES**

| Name | Value | Description |
|---|---|---|
| [Axis](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/units.fidl;l=96) | `fuchsia.input/Axis` | Added: 32 |
| [ConsumerControlButton](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/consumer_control.fidl;l=52) | `fuchsia.input/ConsumerControlButton` | Added: 32 |
| [Range](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/units.fidl;l=84) | `fuchsia.input/Range` | Added: 32 |
| [Unit](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/units.fidl;l=72) | `fuchsia.input/Unit` | Added: 32 |
| [UnitType](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/units.fidl;l=59) | `fuchsia.input/UnitType` | Added: 32 |

## **SERVICES**

### Service

*Defined in [fuchsia.input.report/device.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/device.fidl;l=136)*

| Name | Type | Transport |
|---|---|---|
| [input_device](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.input.report/device.fidl;l=137) | `fuchsia.input.report/InputDevice` | Channel |

<br />