[fidldoc] Updating fidldocs
diff --git a/sdk/fidl/fuchsia.input.report/README.md b/sdk/fidl/fuchsia.input.report/README.md
index bfec3ec..aae69fd 100644
--- a/sdk/fidl/fuchsia.input.report/README.md
+++ b/sdk/fidl/fuchsia.input.report/README.md
@@ -83,6 +83,32 @@
</td>
</tr></table>
+### SendOutputReport {#SendOutputReport}
+
+<p>Send a single output report to the device. This will throw an error
+if the output report does not follow the OutputDescriptor.</p>
+
+#### Request
+<table>
+ <tr><th>Name</th><th>Type</th></tr>
+ <tr>
+ <td><code>report</code></td>
+ <td>
+ <code><a class='link' href='#OutputReport'>OutputReport</a></code>
+ </td>
+ </tr></table>
+
+
+#### Response
+<table>
+ <tr><th>Name</th><th>Type</th></tr>
+ <tr>
+ <td><code>result</code></td>
+ <td>
+ <code><a class='link' href='#InputDevice_SendOutputReport_Result'>InputDevice_SendOutputReport_Result</a></code>
+ </td>
+ </tr></table>
+
## **STRUCTS**
@@ -132,6 +158,17 @@
</tr>
</table>
+### InputDevice_SendOutputReport_Response {#InputDevice_SendOutputReport_Response}
+*generated*
+
+
+
+
+
+<table>
+ <tr><th>Name</th><th>Type</th><th>Description</th><th>Default</th></tr>
+</table>
+
### SensorAxis {#SensorAxis}
*Defined in [fuchsia.input.report/sensor.fidl](https://fuchsia.googlesource.com/fuchsia/+/master/sdk/fidl/fuchsia.input.report/sensor.fidl#44)*
@@ -215,6 +252,52 @@
## **ENUMS**
+### LedType {#LedType}
+Type: <code>uint32</code>
+
+*Defined in [fuchsia.input.report/led.fidl](https://fuchsia.googlesource.com/fuchsia/+/master/sdk/fidl/fuchsia.input.report/led.fidl#11)*
+
+<p>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:</p>
+<ul>
+<li>USB HID usage codes for usage page 0x0008 (LED)</li>
+</ul>
+
+
+<table>
+ <tr><th>Name</th><th>Value</th><th>Description</th></tr><tr>
+ <td><code>NUM_LOCK</code></td>
+ <td><code>1</code></td>
+ <td><p>LED to indicate a Keyboard's number lock is enabled.
+Corresponds to USB HID page 0x0008 usage 0x0001</p>
+</td>
+ </tr><tr>
+ <td><code>CAPS_LOCK</code></td>
+ <td><code>2</code></td>
+ <td><p>LED to indicate a Keyboard's capital lock is enabled.
+Corresponds to USB HID page 0x0008 usage 0x0002</p>
+</td>
+ </tr><tr>
+ <td><code>SCROLL_LOCK</code></td>
+ <td><code>3</code></td>
+ <td><p>LED to indicate a Keyboard's scroll lock is enabled.
+Corresponds to USB HID page 0x0008 usage 0x0003</p>
+</td>
+ </tr><tr>
+ <td><code>COMPOSE</code></td>
+ <td><code>4</code></td>
+ <td><p>LED to indicate a Keyboard's composition mode is enabled.
+Corresponds to USB HID page 0x0008 usage 0x0004</p>
+</td>
+ </tr><tr>
+ <td><code>KANA</code></td>
+ <td><code>5</code></td>
+ <td><p>LED to indicate a Keyboard's Kana mode is enabled.
+Corresponds to USB HID page 0x0008 usage 0x0005</p>
+</td>
+ </tr></table>
+
### SensorType {#SensorType}
Type: <code>uint32</code>
@@ -440,10 +523,31 @@
</td>
</tr></table>
+### OutputDescriptor {#OutputDescriptor}
+
+
+*Defined in [fuchsia.input.report/descriptor.fidl](https://fuchsia.googlesource.com/fuchsia/+/master/sdk/fidl/fuchsia.input.report/descriptor.fidl#46)*
+
+<p>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).</p>
+
+
+<table>
+ <tr><th>Ordinal</th><th>Name</th><th>Type</th><th>Description</th></tr>
+ <tr>
+ <td>1</td>
+ <td><code>keyboard</code></td>
+ <td>
+ <code><a class='link' href='#KeyboardOutputDescriptor'>KeyboardOutputDescriptor</a></code>
+ </td>
+ <td></td>
+ </tr></table>
+
### KeyboardInputDescriptor {#KeyboardInputDescriptor}
-*Defined in [fuchsia.input.report/keyboard.fidl](https://fuchsia.googlesource.com/fuchsia/+/master/sdk/fidl/fuchsia.input.report/keyboard.fidl#20)*
+*Defined in [fuchsia.input.report/keyboard.fidl](https://fuchsia.googlesource.com/fuchsia/+/master/sdk/fidl/fuchsia.input.report/keyboard.fidl#17)*
<p>Describes the format of the input report that will be sent from the keyboard
to the device.</p>
@@ -461,10 +565,30 @@
</td>
</tr></table>
+### KeyboardOutputDescriptor {#KeyboardOutputDescriptor}
+
+
+*Defined in [fuchsia.input.report/keyboard.fidl](https://fuchsia.googlesource.com/fuchsia/+/master/sdk/fidl/fuchsia.input.report/keyboard.fidl#23)*
+
+<p>Describes the format of the output report that can be sent to the keyboard..</p>
+
+
+<table>
+ <tr><th>Ordinal</th><th>Name</th><th>Type</th><th>Description</th></tr>
+ <tr>
+ <td>1</td>
+ <td><code>leds</code></td>
+ <td>
+ <code>vector<<a class='link' href='#LedType'>LedType</a>>[10]</code>
+ </td>
+ <td><p>The list of keyboard LEDs that can be toggled.</p>
+</td>
+ </tr></table>
+
### KeyboardDescriptor {#KeyboardDescriptor}
-*Defined in [fuchsia.input.report/keyboard.fidl](https://fuchsia.googlesource.com/fuchsia/+/master/sdk/fidl/fuchsia.input.report/keyboard.fidl#26)*
+*Defined in [fuchsia.input.report/keyboard.fidl](https://fuchsia.googlesource.com/fuchsia/+/master/sdk/fidl/fuchsia.input.report/keyboard.fidl#29)*
<p>The capabilities of a keyboard device.</p>
@@ -478,12 +602,19 @@
<code><a class='link' href='#KeyboardInputDescriptor'>KeyboardInputDescriptor</a></code>
</td>
<td></td>
+ </tr><tr>
+ <td>2</td>
+ <td><code>output</code></td>
+ <td>
+ <code><a class='link' href='#KeyboardOutputDescriptor'>KeyboardOutputDescriptor</a></code>
+ </td>
+ <td></td>
</tr></table>
### KeyboardInputReport {#KeyboardInputReport}
-*Defined in [fuchsia.input.report/keyboard.fidl](https://fuchsia.googlesource.com/fuchsia/+/master/sdk/fidl/fuchsia.input.report/keyboard.fidl#31)*
+*Defined in [fuchsia.input.report/keyboard.fidl](https://fuchsia.googlesource.com/fuchsia/+/master/sdk/fidl/fuchsia.input.report/keyboard.fidl#35)*
<p>A single report created by a keyboard device.</p>
@@ -500,6 +631,27 @@
</td>
</tr></table>
+### KeyboardOutputReport {#KeyboardOutputReport}
+
+
+*Defined in [fuchsia.input.report/keyboard.fidl](https://fuchsia.googlesource.com/fuchsia/+/master/sdk/fidl/fuchsia.input.report/keyboard.fidl#41)*
+
+<p>A single report containing output information for a keyboard.</p>
+
+
+<table>
+ <tr><th>Ordinal</th><th>Name</th><th>Type</th><th>Description</th></tr>
+ <tr>
+ <td>1</td>
+ <td><code>enabled_leds</code></td>
+ <td>
+ <code>vector<<a class='link' href='#LedType'>LedType</a>>[10]</code>
+ </td>
+ <td><p>Each LED in this list will be turned on. Any LED not in this list will be
+turned off.</p>
+</td>
+ </tr></table>
+
### MouseInputDescriptor {#MouseInputDescriptor}
@@ -687,6 +839,27 @@
</td>
</tr></table>
+### OutputReport {#OutputReport}
+
+
+*Defined in [fuchsia.input.report/report.fidl](https://fuchsia.googlesource.com/fuchsia/+/master/sdk/fidl/fuchsia.input.report/report.fidl#29)*
+
+<p>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).</p>
+
+
+<table>
+ <tr><th>Ordinal</th><th>Name</th><th>Type</th><th>Description</th></tr>
+ <tr>
+ <td>1</td>
+ <td><code>keyboard</code></td>
+ <td>
+ <code><a class='link' href='#KeyboardOutputReport'>KeyboardOutputReport</a></code>
+ </td>
+ <td></td>
+ </tr></table>
+
### SensorInputDescriptor {#SensorInputDescriptor}
@@ -945,6 +1118,27 @@
+## **UNIONS**
+
+### InputDevice_SendOutputReport_Result {#InputDevice_SendOutputReport_Result}
+*generated*
+
+
+<table>
+ <tr><th>Name</th><th>Type</th><th>Description</th></tr><tr>
+ <td><code>response</code></td>
+ <td>
+ <code><a class='link' href='#InputDevice_SendOutputReport_Response'>InputDevice_SendOutputReport_Response</a></code>
+ </td>
+ <td></td>
+ </tr><tr>
+ <td><code>err</code></td>
+ <td>
+ <code><a class='link' href='../zx/'>zx</a>/<a class='link' href='../zx/#status'>status</a></code>
+ </td>
+ <td></td>
+ </tr></table>
+
@@ -976,20 +1170,25 @@
<code>150</code>
</td>
<td><code>uint32</code></td>
- <td><p>A hardcoded number of max keys. This should be increased in the future
-if we ever see keyboards with more keys.</p>
+ <td><p>Hardcoded max sizes for keyboard vectors. These sizes should be increased
+if we ever see keyboards with more objects than can be represented.</p>
</td>
</tr>
+ <tr id="KEYBOARD_MAX_NUM_LEDS">
+ <td><a href="https://fuchsia.googlesource.com/fuchsia/+/master/sdk/fidl/fuchsia.input.report/keyboard.fidl#12">KEYBOARD_MAX_NUM_LEDS</a></td>
+ <td>
+ <code>10</code>
+ </td>
+ <td><code>uint32</code></td>
+ <td></td>
+ </tr>
<tr id="KEYBOARD_MAX_PRESSED_KEYS">
- <td><a href="https://fuchsia.googlesource.com/fuchsia/+/master/sdk/fidl/fuchsia.input.report/keyboard.fidl#16">KEYBOARD_MAX_PRESSED_KEYS</a></td>
+ <td><a href="https://fuchsia.googlesource.com/fuchsia/+/master/sdk/fidl/fuchsia.input.report/keyboard.fidl#13">KEYBOARD_MAX_PRESSED_KEYS</a></td>
<td>
<code>15</code>
</td>
<td><code>uint32</code></td>
- <td><p>A hardcoded number of the maximum keys that can be pressed at a time.
-This should be increased in the future if we see keyboards that can
-handle more pressed keys.</p>
-</td>
+ <td></td>
</tr>
<tr id="MOUSE_MAX_NUM_BUTTONS">
<td><a href="https://fuchsia.googlesource.com/fuchsia/+/master/sdk/fidl/fuchsia.input.report/mouse.fidl#9">MOUSE_MAX_NUM_BUTTONS</a></td>