In-vehicle infotainment HMI controller
通过服务器控制 surface 的参考协议。为了通过服务器控制 surface,它将 seat 交给服务器,例如用于控制主屏幕。主屏幕有几个工作区用于分组 wayland 应用的启动器。这些工作区绘制在水平长的 surface 上,通过输入设备的动作来控制。例如,当发生从右到左的动作时,ivi-shell 中使用 ivi-layout 控制 surface 的视口。客户端可以通过 "workspace_end_control" 事件识别控制结束。
switch_mode(layout_mode: uint)
参数 | 类型 | 描述 |
|---|---|---|
| layout_mode | uint |
hmi-controller 加载到 ivi-shell 实现了 4 种布局类型作为参考:平铺、并排、全屏和随机。
home(home: uint)
参数 | 类型 | 描述 |
|---|---|---|
| home | uint |
主屏幕是用于启动 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 应用的路径
layout_mode { tiling, side_by_side, full_screen, random }
参数 | 值 | 描述 |
|---|---|---|
| tiling | 0 | |
| side_by_side | 1 | |
| full_screen | 2 | |
| random | 3 |
合成器支持
Copyright
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.