summaryrefslogtreecommitdiffstats
path: root/src/extensions/touch-extension.xml
blob: 429dadfd9c7b837985a1939405834db7ca07402e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<protocol name="touch_extension">

    <copyright>
 Copyright (C) 2015 The Qt Company Ltd.
 SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
    </copyright>

    <interface name="qt_touch_extension" version="1">
      <event name="touch">
        <arg name="time" type="uint" />
        <arg name="id" type="uint" />
        <arg name="state" type="uint" />
        <arg name="x" type="int" />
        <arg name="y" type="int" />
        <arg name="normalized_x" type="int" />
        <arg name="normalized_y" type="int" />
        <arg name="width" type="int" />
        <arg name="height" type="int" />
        <arg name="pressure" type="uint" />
        <arg name="velocity_x" type="int" />
        <arg name="velocity_y" type="int" />
        <arg name="flags" type="uint" />
        <arg name="rawdata" type="array" />
      </event>

      <enum name="flags">
        <entry name="mouse_from_touch" value="0x1" />
      </enum>

      <event name="configure">
        <arg name="flags" type="uint" />
      </event>

      <request name="dummy">
      </request>

    </interface>
</protocol>