TABLES
AdcButtonConfig
Defined in fuchsia.buttons/metadata.fidl
Analog-to-Digital Converter Buttons
Ordinal | Field | Type | Description |
---|---|---|---|
1 |
channel_idx |
uint32
|
ADC Channel Index to read button value on. |
2 |
release_threshold |
uint32
|
If press_threshold <= value <= release_threshold, button is pressed. Otherwise, not pressed. |
3 |
press_threshold |
uint32
|
Button
Defined in fuchsia.buttons/metadata.fidl
Ordinal | Field | Type | Description |
---|---|---|---|
1 |
types |
vector<fuchsia.input.report/ConsumerControlButton>
|
Button Types. A single button may affect multiple things and thus have multiple functionalities. For example, a privacy switch that mutes both the camera and mic may map to the combination of fuchsia.input.report.ConsumerControlButton.MIC_MUTE and CAMERA_DISABLE. |
2 |
button_config |
ButtonConfig
|
Button Config. |
Metadata
Defined in fuchsia.buttons/metadata.fidl
Ordinal | Field | Type | Description |
---|---|---|---|
1 |
polling_rate_usec |
uint32
|
Polling Rate in usec if exists. |
2 |
buttons |
vector<Button>
|
Buttons. |
UNIONS
ButtonConfig flexible
Defined in fuchsia.buttons/metadata.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
adc |
AdcButtonConfig
|
ADC Buttons. |