Skip to content
  • Nobuhiko Tanibata's avatar
    clients: a reference implementation of UI client how to use ivi-hmi-controller. · 923bc140
    Nobuhiko Tanibata authored and Pekka Paalanen's avatar Pekka Paalanen committed
    
    
    - introduces ivi-shell-user-interface.c
    
    This is launched from hmi-controller by launch_hmi_client_process and
    invoke a
    client process.
    
    The basic flow is as followed,
    1/ process invoked
    2/ read configuration from weston.ini.
    3/ draw png file to surface according to configuration of weston.ini
    4/ all parts of UI are ready. request "UI_ready" to draw UI.
    5/ Enter event loop
    6/ If a surface receives touch/pointer event, followings are invoked
    according
       to type of event and surface
    6-1/ If a surface to launch ivi_application receive touch up, it execs
         ivi-application configured in weston.ini.
    6-2/ If a surface to switch layout mode receive touch up, it sends a
    request,
         ivi_hmi_controller_switch_mode, to hmi-controller.
    6-3/ If a surface to show workspace having launchers, it sends a
    request,
         ivi_hmi_controller_home, to hmi-controller.
    6-4/ If touch down events happens in workspace,
         ivi_hmi_controller_workspace_control is sent to slide workspace.
         When control finished, event:
    ivi_hmi_controller_workspace_end_control
         is received.
    
    Signed-off-by: default avatarNobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
    Acked-by: default avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
    923bc140