aboutsummaryrefslogtreecommitdiffstats
path: root/include/xen/interface/io/kbdif.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2018-08-28 12:58:03 -0400
committerTony Lindgren <tony@atomide.com>2018-08-28 12:58:03 -0400
commitea4d65f14f6aaa53e379b93c5544245ef081b3e7 (patch)
treea15485f4f1cf547a52b31fa8e16e14b9579b7200 /include/xen/interface/io/kbdif.h
parentce32d59ee2cd036f6e8a6ed17a06a0b0bec5c67c (diff)
parent496f3347d834aec91c38b45d6249ed00f58ad233 (diff)
Merge branch 'perm-fix' into omap-for-v4.19/fixes-v2
Diffstat (limited to 'include/xen/interface/io/kbdif.h')
-rw-r--r--include/xen/interface/io/kbdif.h78
1 files changed, 59 insertions, 19 deletions
diff --git a/include/xen/interface/io/kbdif.h b/include/xen/interface/io/kbdif.h
index e2340a4130cf..5c7630d7376e 100644
--- a/include/xen/interface/io/kbdif.h
+++ b/include/xen/interface/io/kbdif.h
@@ -51,6 +51,18 @@
51 * corresponding entries in XenStore and puts 1 as the value of the entry. 51 * corresponding entries in XenStore and puts 1 as the value of the entry.
52 * If a feature is not supported then 0 must be set or feature entry omitted. 52 * If a feature is not supported then 0 must be set or feature entry omitted.
53 * 53 *
54 * feature-disable-keyboard
55 * Values: <uint>
56 *
57 * If there is no need to expose a virtual keyboard device by the
58 * frontend then this must be set to 1.
59 *
60 * feature-disable-pointer
61 * Values: <uint>
62 *
63 * If there is no need to expose a virtual pointer device by the
64 * frontend then this must be set to 1.
65 *
54 * feature-abs-pointer 66 * feature-abs-pointer
55 * Values: <uint> 67 * Values: <uint>
56 * 68 *
@@ -63,6 +75,22 @@
63 * Backends, which support reporting of multi-touch events 75 * Backends, which support reporting of multi-touch events
64 * should set this to 1. 76 * should set this to 1.
65 * 77 *
78 * feature-raw-pointer
79 * Values: <uint>
80 *
81 * Backends, which support reporting raw (unscaled) absolute coordinates
82 * for pointer devices should set this to 1. Raw (unscaled) values have
83 * a range of [0, 0x7fff].
84 *
85 *----------------------- Device Instance Parameters ------------------------
86 *
87 * unique-id
88 * Values: <string>
89 *
90 * After device instance initialization it is assigned a unique ID,
91 * so every instance of the frontend can be identified by the backend
92 * by this ID. This can be UUID or such.
93 *
66 *------------------------- Pointer Device Parameters ------------------------ 94 *------------------------- Pointer Device Parameters ------------------------
67 * 95 *
68 * width 96 * width
@@ -77,6 +105,25 @@
77 * Maximum Y coordinate (height) to be used by the frontend 105 * Maximum Y coordinate (height) to be used by the frontend
78 * while reporting input events, pixels, [0; UINT32_MAX]. 106 * while reporting input events, pixels, [0; UINT32_MAX].
79 * 107 *
108 *----------------------- Multi-touch Device Parameters ----------------------
109 *
110 * multi-touch-num-contacts
111 * Values: <uint>
112 *
113 * Number of simultaneous touches reported.
114 *
115 * multi-touch-width
116 * Values: <uint>
117 *
118 * Width of the touch area to be used by the frontend
119 * while reporting input events, pixels, [0; UINT32_MAX].
120 *
121 * multi-touch-height
122 * Values: <uint>
123 *
124 * Height of the touch area to be used by the frontend
125 * while reporting input events, pixels, [0; UINT32_MAX].
126 *
80 ***************************************************************************** 127 *****************************************************************************
81 * Frontend XenBus Nodes 128 * Frontend XenBus Nodes
82 ***************************************************************************** 129 *****************************************************************************
@@ -98,6 +145,13 @@
98 * 145 *
99 * Request backend to report multi-touch events. 146 * Request backend to report multi-touch events.
100 * 147 *
148 * request-raw-pointer
149 * Values: <uint>
150 *
151 * Request backend to report raw unscaled absolute pointer coordinates.
152 * This option is only valid if request-abs-pointer is also set.
153 * Raw unscaled coordinates have the range [0, 0x7fff]
154 *
101 *----------------------- Request Transport Parameters ----------------------- 155 *----------------------- Request Transport Parameters -----------------------
102 * 156 *
103 * event-channel 157 * event-channel
@@ -117,25 +171,6 @@
117 * 171 *
118 * OBSOLETE, not recommended for use. 172 * OBSOLETE, not recommended for use.
119 * PFN of the shared page. 173 * PFN of the shared page.
120 *
121 *----------------------- Multi-touch Device Parameters -----------------------
122 *
123 * multi-touch-num-contacts
124 * Values: <uint>
125 *
126 * Number of simultaneous touches reported.
127 *
128 * multi-touch-width
129 * Values: <uint>
130 *
131 * Width of the touch area to be used by the frontend
132 * while reporting input events, pixels, [0; UINT32_MAX].
133 *
134 * multi-touch-height
135 * Values: <uint>
136 *
137 * Height of the touch area to be used by the frontend
138 * while reporting input events, pixels, [0; UINT32_MAX].
139 */ 174 */
140 175
141/* 176/*
@@ -163,9 +198,13 @@
163 198
164#define XENKBD_DRIVER_NAME "vkbd" 199#define XENKBD_DRIVER_NAME "vkbd"
165 200
201#define XENKBD_FIELD_FEAT_DSBL_KEYBRD "feature-disable-keyboard"
202#define XENKBD_FIELD_FEAT_DSBL_POINTER "feature-disable-pointer"
166#define XENKBD_FIELD_FEAT_ABS_POINTER "feature-abs-pointer" 203#define XENKBD_FIELD_FEAT_ABS_POINTER "feature-abs-pointer"
204#define XENKBD_FIELD_FEAT_RAW_POINTER "feature-raw-pointer"
167#define XENKBD_FIELD_FEAT_MTOUCH "feature-multi-touch" 205#define XENKBD_FIELD_FEAT_MTOUCH "feature-multi-touch"
168#define XENKBD_FIELD_REQ_ABS_POINTER "request-abs-pointer" 206#define XENKBD_FIELD_REQ_ABS_POINTER "request-abs-pointer"
207#define XENKBD_FIELD_REQ_RAW_POINTER "request-raw-pointer"
169#define XENKBD_FIELD_REQ_MTOUCH "request-multi-touch" 208#define XENKBD_FIELD_REQ_MTOUCH "request-multi-touch"
170#define XENKBD_FIELD_RING_GREF "page-gref" 209#define XENKBD_FIELD_RING_GREF "page-gref"
171#define XENKBD_FIELD_EVT_CHANNEL "event-channel" 210#define XENKBD_FIELD_EVT_CHANNEL "event-channel"
@@ -174,6 +213,7 @@
174#define XENKBD_FIELD_MT_WIDTH "multi-touch-width" 213#define XENKBD_FIELD_MT_WIDTH "multi-touch-width"
175#define XENKBD_FIELD_MT_HEIGHT "multi-touch-height" 214#define XENKBD_FIELD_MT_HEIGHT "multi-touch-height"
176#define XENKBD_FIELD_MT_NUM_CONTACTS "multi-touch-num-contacts" 215#define XENKBD_FIELD_MT_NUM_CONTACTS "multi-touch-num-contacts"
216#define XENKBD_FIELD_UNIQUE_ID "unique-id"
177 217
178/* OBSOLETE, not recommended for use */ 218/* OBSOLETE, not recommended for use */
179#define XENKBD_FIELD_RING_REF "page-ref" 219#define XENKBD_FIELD_RING_REF "page-ref"