summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeon <jhyuni.kang@samsung.com>2019-02-25 14:44:23 +0900
committerJeongHyun Kang <jhyuni.kang@samsung.com>2019-05-30 23:13:42 +0000
commit6ff0e4e2944b17408bb3698dfde374811aea6be9 (patch)
tree964e2e208dbafba8598d312631a8a942a17da41a
parent8f35be1a7e3b7a0058651998382427980fc7f30f (diff)
downloadwayland-extension-6ff0e4e2944b17408bb3698dfde374811aea6be9.tar.gz
wayland-extension-6ff0e4e2944b17408bb3698dfde374811aea6be9.tar.bz2
wayland-extension-6ff0e4e2944b17408bb3698dfde374811aea6be9.zip
tizen-extension: add a generate_axis event request to input generator
- input generator can generate wheel and touch axis events using this protocol Change-Id: I94cf8a78f607b9f3375453027c65ef6b733e40dd
-rw-r--r--protocol/tizen/tizen-extension.xml26
1 files changed, 25 insertions, 1 deletions
diff --git a/protocol/tizen/tizen-extension.xml b/protocol/tizen/tizen-extension.xml
index f2f809f..8e981a8 100644
--- a/protocol/tizen/tizen-extension.xml
+++ b/protocol/tizen/tizen-extension.xml
@@ -1203,7 +1203,7 @@
<request name="destroy" type="destructor"/>
</interface>
- <interface name="tizen_input_device_manager" version="2">
+ <interface name="tizen_input_device_manager" version="3">
<description summary="global input device manager object">
Tizen input device manager is a global interface. This object has device add/remove events
to provide tizen input device object to a client. This allows for a client to get the con
@@ -1359,6 +1359,30 @@
</description>
</request>
+ <!-- version 3 additions -->
+ <enum name="axis_type" since="3">
+ <entry name="none" value="0" summary="no axis type"/>
+ <entry name="wheel" value="1" summary="pointer vertical wheel axis"/>
+ <entry name="hwheel" value="2" summary="pointer horizental wheel axis"/>
+ <entry name="radius_x" value="3" summary="touch radius of x axis of an event area e.g. touching area with a finger or a pen"/>
+ <entry name="radius_y" value="4" summary="touch radius of y axis of an event area e.g. touching area with a finger or a pen"/>
+ <entry name="pressure" value="5" summary="touch pressure in an event area e.g. touching area with a finger or a pen"/>
+ <entry name="angle" value="6" summary="touch angle in an event area e.g. touching area with a finger or a pen"/>
+ <entry name="palm" value="7" summary="touch palm in an event area e.g. touching area with a finger or a pen"/>
+ </enum>
+
+ <request name="generate_axis" since="3">
+ <description summary="generate a pointer/touch axes event using specific or default device">
+ When the server got this request, the server choices generate a event directly or just save values.
+ Pointer axes (such as wheel/hwheel) are delivered to clients independantly about pointer events,
+ but touch axes are delivered to normal touch events(begin/update/end).
+ So the server just save touch axes before generate touch request is came and send a touch event
+ include saved touch axes value.
+ </description>
+ <arg name="type" type="uint" enum="axis_type"/>
+ <arg name="value" type="fixed" summary="axis value"/>
+ </request>
+
</interface>
<interface name="tizen_input_device" version="1">