PlatformUiConfig

Platform configuration options for the UI area.

FieldTypeDescriptionDefault
with_synthetic_device_support bool Set with_synthetic_device_support true to include input-helper to ui.
visual_debugging_level VisualDebuggingLevel Set visual_debugging_level to enable visual debugging features.
viewing_distance ViewingDistance
supported_input_devices vector The relevant input device bindings from which to install appropriate input handlers. Default to an empty set.
sensor_config Option The sensor config to provide to the input pipeline.
renderer RendererType The renderer Scenic should use.
pointer_auto_focus bool Scenic shifts focus from view to view as the user interacts with the UI. Set to false for Smart displays, as they use a different programmatic focus change scheme. true
frame_scheduler_min_predicted_frame_duration_in_us uint64 The minimum frame duration for frame scheduler.
frame_prediction_margin_in_us uint64 Safety margin added to prediction time to reduce impact of noise and misprediction. Unfortunately this means minimum possible latency is increased by the same amount.
enabled bool Whether UI should be enabled on the product.
display_rotation uint64
display_pixel_density string
display_mode DisplayModeConfig
display_composition bool Scenic attempts to delegate composition of client images to the display controller, with GPU/Vulkan composition as the fallback. If false, GPU/Vulkan composition is always used.
brightness_manager BrightnessManager Whether to include brightness manager, and the relevant configs.
attach_a11y_view bool true