tizen_input_device_manager: add a request to set touch count 89/250589/2 accepted/tizen/unified/20210115.004620 submit/tizen/20210113.113637
authorjeon <jhyuni.kang@samsung.com>
Wed, 30 Dec 2020 03:28:13 +0000 (12:28 +0900)
committerJeongHyun Kang <jhyuni.kang@samsung.com>
Wed, 30 Dec 2020 05:52:49 +0000 (05:52 +0000)
Change-Id: Icf94a0d1c8ff8e616fbb703424159314dd30601b

protocol/tizen/tizen-extension.xml

index 8c7ff65..c9232d5 100644 (file)
       <entry name="invalid_parameter" value="5" summary="argument is invalid"/>
       <entry name="invalid_surface" value="6" summary="the given surface is not visible or pointer is not on the given surface"/>
       <entry name="no_pointer_available" value="7" summary="there is no pointer available to warp"/>
+      <entry name="not_allowed" value="8" summary="this request is not allowed in this system"/>
     </enum>
 
     <event name="error">
       <arg name="seat" type="object" interface="wl_seat"/>
     </event>
 
+    <request name="set_touch_count" since="4">
+      <description summary="set a max slot of touch">
+        This request only changes system's touch count.
+        So this request doesn't change already connected touch devices's max count.
+        This will influence to user created device using input generator.
+        Input generator creates touch device only supports default touch count.
+        But if user set touch count before create a Input generator device,
+        user can create touch device has touch count user wanted.
+        But some systems has their own maximum touch count.
+        In that case this request returns error not_allowed.
+      </description>
+      <arg name="max_count" type="int"/>
+    </request>
   </interface>
 
   <interface name="tizen_input_device" version="1">