diff options
author | Timo Lotterbach <timo.lotterbach@bmw-carit.de> | 2013-11-20 11:05:14 +0100 |
---|---|---|
committer | Timo Lotterbach <timo.lotterbach@bmw-carit.de> | 2013-11-20 14:51:30 +0100 |
commit | ed3b608ea1751382ebeef98e60575500cd35cede (patch) | |
tree | 88243784f5cbdaecf3e3d0ee551e871f9f032615 /protocol | |
parent | 4b9383ccf43ef7b3b949c7f3ec5ee50adb6e7672 (diff) | |
download | wayland-ivi-extension-ed3b608ea1751382ebeef98e60575500cd35cede.tar.gz |
protocol: added surface input focus
on platforms, that do not use touch or (mouse-)pointer input,
inputs events are not directly related to the screen content
(e.g. surface positions and sizes).
the controller has to set the input focus for surfaces, so
they will receive input events from sources like buttons or keyboard.
Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
Diffstat (limited to 'protocol')
-rwxr-xr-x | protocol/ivi-controller.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/protocol/ivi-controller.xml b/protocol/ivi-controller.xml index 2304e8a..614ae71 100755 --- a/protocol/ivi-controller.xml +++ b/protocol/ivi-controller.xml @@ -191,6 +191,16 @@ <arg name="content_state" type="int"/> </event> + <request name="set_input_focus"> + <description summary="set input_focus to this surface to direct non-graphical inputs (e.g. keyboard) to application providing this surface"/> + <arg name="enabled" type="int"/> + </request> + + <event name="focus"> + <description summary="received if input focus of surface has changed"/> + <arg name="enabled" type="int"/> + </event> + </interface> <interface name="ivi_controller_layer" version="1"> |