In-vehicle infotainment HMI controller

设置和控制 IVI 风格的 UI
UI_ready()
通知桌面已准备好绘制
workspace_control(seat: object<wl_seat>, serial: uint)
参数
类型
描述
seatobject<wl_seat>
serialuint
开始由服务器控制 surface

通过服务器控制 surface 的参考协议。为了通过服务器控制 surface,它将 seat 交给服务器,例如用于控制主屏幕。主屏幕有几个工作区用于分组 wayland 应用的启动器。这些工作区绘制在水平长的 surface 上,通过输入设备的动作来控制。例如,当发生从右到左的动作时,ivi-shell 中使用 ivi-layout 控制 surface 的视口。客户端可以通过 "workspace_end_control" 事件识别控制结束。

switch_mode(layout_mode: uint)
参数
类型
描述
layout_modeuint
请求切换应用布局模式

hmi-controller 加载到 ivi-shell 实现了 4 种布局类型作为参考:平铺、并排、全屏和随机。

home(home: uint)
参数
类型
描述
homeuint
请求显示/隐藏主屏幕

主屏幕是用于启动 wayland 应用的启动器的参考实现。主屏幕有几个工作区用于分组 wayland 应用。通过在 weston.ini 中定义以下键,用户可以向工作区添加启动器图标来启动 wayland 应用。 [ivi-launcher] workspace-id=0 :要添加启动器的工作区 ID icon-id=4001 :用于绘制图标的 ivi_surface 的 ivi ID icon=/home/user/review/build-ivi-shell/data/icon_ivi_flower.png :图标图像的路径 path=/home/user/review/build-ivi-shell/weston-dnd :wayland 应用的路径

workspace_end_control(is_controlled: int)
参数
类型
描述
is_controlledint
通知工作区控制结束
home { off, on } 
参数
描述
off0
on1

合成器支持

未发现合成器支持

Copyright (C) 2013 DENSO CORPORATION Copyright (c) 2013 BMW Car IT GmbH

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Footer

© 2026 Wayland Explorer

本网站与 Wayland 官方项目无任何关联。网站所有内容均根据 Wayland 协议 XML 文件自动生成。

本网站使用的 Visual Studio Code - Codicons 遵循 CC BY 4.0 许可。