tizen_input_device_manager: add event to send touch max slot count 54/250254/3
authorjeon <jhyuni.kang@samsung.com>
Tue, 22 Dec 2020 09:56:02 +0000 (18:56 +0900)
committerjeon <jhyuni.kang@samsung.com>
Wed, 30 Dec 2020 05:57:54 +0000 (14:57 +0900)
Change-Id: Ifc7ec0d55e5405c9164d63c01c36e0c5c9fad413

protocol/tizen/tizen-extension.xml

index bf99ae6..8c7ff65 100644 (file)
     <request name="destroy" type="destructor"/>
   </interface>
 
-  <interface name="tizen_input_device_manager" version="3">
+  <interface name="tizen_input_device_manager" version="4">
     <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
       <arg name="value" type="fixed" summary="axis value"/>
     </request>
 
+    <!-- version 4 additions -->
+    <event name="max_touch_count" since="4">
+      <description summary="notify max slot of touch device is updated">
+        Each touch devices has their own touch counts can be supported.
+        So a server controls maximum touches in this system to maintain resources efficiently.
+        Sometimes a server controls maximum touches using a predefined configuration option.
+        Sometimes a server ensures maximum touches to be supported by touch device.
+        If a server do not use configuration option, maximum touches can be updated when new touch devices are connected.
+        So this events can be sent to client, when a first touch device is added or maximum touches is changed.
+      </description>
+      <arg name="serial" type="uint"/>
+      <arg name="max_count" type="int"/>
+      <arg name="seat" type="object" interface="wl_seat"/>
+    </event>
+
   </interface>
 
   <interface name="tizen_input_device" version="1">