fuchsia.buttons

Added: HEAD

TABLES

AdcButtonConfig

Defined in fuchsia.buttons/metadata.fidl

Analog-to-Digital Converter Buttons

OrdinalFieldTypeDescription
channel_idx uint32

ADC Channel Index to read button value on.

release_threshold uint32

If press_threshold <= value <= release_threshold, button is pressed. Otherwise, not pressed.

press_threshold uint32

Button

Defined in fuchsia.buttons/metadata.fidl

OrdinalFieldTypeDescription
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.

button_config ButtonConfig

Button Config.

Metadata

Defined in fuchsia.buttons/metadata.fidl

OrdinalFieldTypeDescription
polling_rate_usec uint32

Polling Rate in usec if exists.

buttons vector<Button>

Buttons.

UNIONS

ButtonConfig flexible

Defined in fuchsia.buttons/metadata.fidl

OrdinalVariantTypeDescription
adc AdcButtonConfig

ADC Buttons.