tablet-v2.xml 50 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <protocol name="tablet_v2">
  3. <copyright>
  4. Copyright 2014 © Stephen "Lyude" Chandler Paul
  5. Copyright 2015-2016 © Red Hat, Inc.
  6. Permission is hereby granted, free of charge, to any person
  7. obtaining a copy of this software and associated documentation files
  8. (the "Software"), to deal in the Software without restriction,
  9. including without limitation the rights to use, copy, modify, merge,
  10. publish, distribute, sublicense, and/or sell copies of the Software,
  11. and to permit persons to whom the Software is furnished to do so,
  12. subject to the following conditions:
  13. The above copyright notice and this permission notice (including the
  14. next paragraph) shall be included in all copies or substantial
  15. portions of the Software.
  16. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  17. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  18. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  19. NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
  20. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
  21. ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  22. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  23. SOFTWARE.
  24. </copyright>
  25. <description summary="Wayland protocol for graphics tablets">
  26. This description provides a high-level overview of the interplay between
  27. the interfaces defined this protocol. For details, see the protocol
  28. specification.
  29. More than one tablet may exist, and device-specifics matter. Tablets are
  30. not represented by a single virtual device like wl_pointer. A client
  31. binds to the tablet manager object which is just a proxy object. From
  32. that, the client requests wp_tablet_manager.get_tablet_seat(wl_seat)
  33. and that returns the actual interface that has all the tablets. With
  34. this indirection, we can avoid merging wp_tablet into the actual Wayland
  35. protocol, a long-term benefit.
  36. The wp_tablet_seat sends a "tablet added" event for each tablet
  37. connected. That event is followed by descriptive events about the
  38. hardware; currently that includes events for name, vid/pid and
  39. a wp_tablet.path event that describes a local path. This path can be
  40. used to uniquely identify a tablet or get more information through
  41. libwacom. Emulated or nested tablets can skip any of those, e.g. a
  42. virtual tablet may not have a vid/pid. The sequence of descriptive
  43. events is terminated by a wp_tablet.done event to signal that a client
  44. may now finalize any initialization for that tablet.
  45. Events from tablets require a tool in proximity. Tools are also managed
  46. by the tablet seat; a "tool added" event is sent whenever a tool is new
  47. to the compositor. That event is followed by a number of descriptive
  48. events about the hardware; currently that includes capabilities,
  49. hardware id and serial number, and tool type. Similar to the tablet
  50. interface, a wp_tablet_tool.done event is sent to terminate that initial
  51. sequence.
  52. Any event from a tool happens on the wp_tablet_tool interface. When the
  53. tool gets into proximity of the tablet, a proximity_in event is sent on
  54. the wp_tablet_tool interface, listing the tablet and the surface. That
  55. event is followed by a motion event with the coordinates. After that,
  56. it's the usual motion, axis, button, etc. events. The protocol's
  57. serialisation means events are grouped by wp_tablet_tool.frame events.
  58. Two special events (that don't exist in X) are down and up. They signal
  59. "tip touching the surface". For tablets without real proximity
  60. detection, the sequence is: proximity_in, motion, down, frame.
  61. When the tool leaves proximity, a proximity_out event is sent. If any
  62. button is still down, a button release event is sent before this
  63. proximity event. These button events are sent in the same frame as the
  64. proximity event to signal to the client that the buttons were held when
  65. the tool left proximity.
  66. If the tool moves out of the surface but stays in proximity (i.e.
  67. between windows), compositor-specific grab policies apply. This usually
  68. means that the proximity-out is delayed until all buttons are released.
  69. Moving a tool physically from one tablet to the other has no real effect
  70. on the protocol, since we already have the tool object from the "tool
  71. added" event. All the information is already there and the proximity
  72. events on both tablets are all a client needs to reconstruct what
  73. happened.
  74. Some extra axes are normalized, i.e. the client knows the range as
  75. specified in the protocol (e.g. [0, 65535]), the granularity however is
  76. unknown. The current normalized axes are pressure, distance, and slider.
  77. Other extra axes are in physical units as specified in the protocol.
  78. The current extra axes with physical units are tilt, rotation and
  79. wheel rotation.
  80. Since tablets work independently of the pointer controlled by the mouse,
  81. the focus handling is independent too and controlled by proximity.
  82. The wp_tablet_tool.set_cursor request sets a tool-specific cursor.
  83. This cursor surface may be the same as the mouse cursor, and it may be
  84. the same across tools but it is possible to be more fine-grained. For
  85. example, a client may set different cursors for the pen and eraser.
  86. Tools are generally independent of tablets and it is
  87. compositor-specific policy when a tool can be removed. Common approaches
  88. will likely include some form of removing a tool when all tablets the
  89. tool was used on are removed.
  90. </description>
  91. <interface name="zwp_tablet_manager_v2" version="1">
  92. <description summary="controller object for graphic tablet devices">
  93. An object that provides access to the graphics tablets available on this
  94. system. All tablets are associated with a seat, to get access to the
  95. actual tablets, use wp_tablet_manager.get_tablet_seat.
  96. </description>
  97. <request name="get_tablet_seat">
  98. <description summary="get the tablet seat">
  99. Get the wp_tablet_seat object for the given seat. This object
  100. provides access to all graphics tablets in this seat.
  101. </description>
  102. <arg name="tablet_seat" type="new_id" interface="zwp_tablet_seat_v2"/>
  103. <arg name="seat" type="object" interface="wl_seat" summary="The wl_seat object to retrieve the tablets for" />
  104. </request>
  105. <request name="destroy" type="destructor">
  106. <description summary="release the memory for the tablet manager object">
  107. Destroy the wp_tablet_manager object. Objects created from this
  108. object are unaffected and should be destroyed separately.
  109. </description>
  110. </request>
  111. </interface>
  112. <interface name="zwp_tablet_seat_v2" version="1">
  113. <description summary="controller object for graphic tablet devices of a seat">
  114. An object that provides access to the graphics tablets available on this
  115. seat. After binding to this interface, the compositor sends a set of
  116. wp_tablet_seat.tablet_added and wp_tablet_seat.tool_added events.
  117. </description>
  118. <request name="destroy" type="destructor">
  119. <description summary="release the memory for the tablet seat object">
  120. Destroy the wp_tablet_seat object. Objects created from this
  121. object are unaffected and should be destroyed separately.
  122. </description>
  123. </request>
  124. <event name="tablet_added">
  125. <description summary="new device notification">
  126. This event is sent whenever a new tablet becomes available on this
  127. seat. This event only provides the object id of the tablet, any
  128. static information about the tablet (device name, vid/pid, etc.) is
  129. sent through the wp_tablet interface.
  130. </description>
  131. <arg name="id" type="new_id" interface="zwp_tablet_v2" summary="the newly added graphics tablet"/>
  132. </event>
  133. <event name="tool_added">
  134. <description summary="a new tool has been used with a tablet">
  135. This event is sent whenever a tool that has not previously been used
  136. with a tablet comes into use. This event only provides the object id
  137. of the tool; any static information about the tool (capabilities,
  138. type, etc.) is sent through the wp_tablet_tool interface.
  139. </description>
  140. <arg name="id" type="new_id" interface="zwp_tablet_tool_v2" summary="the newly added tablet tool"/>
  141. </event>
  142. <event name="pad_added">
  143. <description summary="new pad notification">
  144. This event is sent whenever a new pad is known to the system. Typically,
  145. pads are physically attached to tablets and a pad_added event is
  146. sent immediately after the wp_tablet_seat.tablet_added.
  147. However, some standalone pad devices logically attach to tablets at
  148. runtime, and the client must wait for wp_tablet_pad.enter to know
  149. the tablet a pad is attached to.
  150. This event only provides the object id of the pad. All further
  151. features (buttons, strips, rings) are sent through the wp_tablet_pad
  152. interface.
  153. </description>
  154. <arg name="id" type="new_id" interface="zwp_tablet_pad_v2" summary="the newly added pad"/>
  155. </event>
  156. </interface>
  157. <interface name="zwp_tablet_tool_v2" version="1">
  158. <description summary="a physical tablet tool">
  159. An object that represents a physical tool that has been, or is
  160. currently in use with a tablet in this seat. Each wp_tablet_tool
  161. object stays valid until the client destroys it; the compositor
  162. reuses the wp_tablet_tool object to indicate that the object's
  163. respective physical tool has come into proximity of a tablet again.
  164. A wp_tablet_tool object's relation to a physical tool depends on the
  165. tablet's ability to report serial numbers. If the tablet supports
  166. this capability, then the object represents a specific physical tool
  167. and can be identified even when used on multiple tablets.
  168. A tablet tool has a number of static characteristics, e.g. tool type,
  169. hardware_serial and capabilities. These capabilities are sent in an
  170. event sequence after the wp_tablet_seat.tool_added event before any
  171. actual events from this tool. This initial event sequence is
  172. terminated by a wp_tablet_tool.done event.
  173. Tablet tool events are grouped by wp_tablet_tool.frame events.
  174. Any events received before a wp_tablet_tool.frame event should be
  175. considered part of the same hardware state change.
  176. </description>
  177. <request name="set_cursor">
  178. <description summary="set the tablet tool's surface">
  179. Sets the surface of the cursor used for this tool on the given
  180. tablet. This request only takes effect if the tool is in proximity
  181. of one of the requesting client's surfaces or the surface parameter
  182. is the current pointer surface. If there was a previous surface set
  183. with this request it is replaced. If surface is NULL, the cursor
  184. image is hidden.
  185. The parameters hotspot_x and hotspot_y define the position of the
  186. pointer surface relative to the pointer location. Its top-left corner
  187. is always at (x, y) - (hotspot_x, hotspot_y), where (x, y) are the
  188. coordinates of the pointer location, in surface-local coordinates.
  189. On surface.attach requests to the pointer surface, hotspot_x and
  190. hotspot_y are decremented by the x and y parameters passed to the
  191. request. Attach must be confirmed by wl_surface.commit as usual.
  192. The hotspot can also be updated by passing the currently set pointer
  193. surface to this request with new values for hotspot_x and hotspot_y.
  194. The current and pending input regions of the wl_surface are cleared,
  195. and wl_surface.set_input_region is ignored until the wl_surface is no
  196. longer used as the cursor. When the use as a cursor ends, the current
  197. and pending input regions become undefined, and the wl_surface is
  198. unmapped.
  199. This request gives the surface the role of a wp_tablet_tool cursor. A
  200. surface may only ever be used as the cursor surface for one
  201. wp_tablet_tool. If the surface already has another role or has
  202. previously been used as cursor surface for a different tool, a
  203. protocol error is raised.
  204. </description>
  205. <arg name="serial" type="uint" summary="serial of the proximity_in event"/>
  206. <arg name="surface" type="object" interface="wl_surface" allow-null="true"/>
  207. <arg name="hotspot_x" type="int" summary="surface-local x coordinate"/>
  208. <arg name="hotspot_y" type="int" summary="surface-local y coordinate"/>
  209. </request>
  210. <request name="destroy" type="destructor">
  211. <description summary="destroy the tool object">
  212. This destroys the client's resource for this tool object.
  213. </description>
  214. </request>
  215. <enum name="type">
  216. <description summary="a physical tool type">
  217. Describes the physical type of a tool. The physical type of a tool
  218. generally defines its base usage.
  219. The mouse tool represents a mouse-shaped tool that is not a relative
  220. device but bound to the tablet's surface, providing absolute
  221. coordinates.
  222. The lens tool is a mouse-shaped tool with an attached lens to
  223. provide precision focus.
  224. </description>
  225. <entry name="pen" value="0x140" summary="Pen"/>
  226. <entry name="eraser" value="0x141" summary="Eraser"/>
  227. <entry name="brush" value="0x142" summary="Brush"/>
  228. <entry name="pencil" value="0x143" summary="Pencil"/>
  229. <entry name="airbrush" value="0x144" summary="Airbrush"/>
  230. <entry name="finger" value="0x145" summary="Finger"/>
  231. <entry name="mouse" value="0x146" summary="Mouse"/>
  232. <entry name="lens" value="0x147" summary="Lens"/>
  233. </enum>
  234. <event name="type">
  235. <description summary="tool type">
  236. The tool type is the high-level type of the tool and usually decides
  237. the interaction expected from this tool.
  238. This event is sent in the initial burst of events before the
  239. wp_tablet_tool.done event.
  240. </description>
  241. <arg name="tool_type" type="uint" enum="type" summary="the physical tool type"/>
  242. </event>
  243. <event name="hardware_serial">
  244. <description summary="unique hardware serial number of the tool">
  245. If the physical tool can be identified by a unique 64-bit serial
  246. number, this event notifies the client of this serial number.
  247. If multiple tablets are available in the same seat and the tool is
  248. uniquely identifiable by the serial number, that tool may move
  249. between tablets.
  250. Otherwise, if the tool has no serial number and this event is
  251. missing, the tool is tied to the tablet it first comes into
  252. proximity with. Even if the physical tool is used on multiple
  253. tablets, separate wp_tablet_tool objects will be created, one per
  254. tablet.
  255. This event is sent in the initial burst of events before the
  256. wp_tablet_tool.done event.
  257. </description>
  258. <arg name="hardware_serial_hi" type="uint" summary="the unique serial number of the tool, most significant bits"/>
  259. <arg name="hardware_serial_lo" type="uint" summary="the unique serial number of the tool, least significant bits"/>
  260. </event>
  261. <event name="hardware_id_wacom">
  262. <description summary="hardware id notification in Wacom's format">
  263. This event notifies the client of a hardware id available on this tool.
  264. The hardware id is a device-specific 64-bit id that provides extra
  265. information about the tool in use, beyond the wl_tool.type
  266. enumeration. The format of the id is specific to tablets made by
  267. Wacom Inc. For example, the hardware id of a Wacom Grip
  268. Pen (a stylus) is 0x802.
  269. This event is sent in the initial burst of events before the
  270. wp_tablet_tool.done event.
  271. </description>
  272. <arg name="hardware_id_hi" type="uint" summary="the hardware id, most significant bits"/>
  273. <arg name="hardware_id_lo" type="uint" summary="the hardware id, least significant bits"/>
  274. </event>
  275. <enum name="capability">
  276. <description summary="capability flags for a tool">
  277. Describes extra capabilities on a tablet.
  278. Any tool must provide x and y values, extra axes are
  279. device-specific.
  280. </description>
  281. <entry name="tilt" value="1" summary="Tilt axes"/>
  282. <entry name="pressure" value="2" summary="Pressure axis"/>
  283. <entry name="distance" value="3" summary="Distance axis"/>
  284. <entry name="rotation" value="4" summary="Z-rotation axis"/>
  285. <entry name="slider" value="5" summary="Slider axis"/>
  286. <entry name="wheel" value="6" summary="Wheel axis"/>
  287. </enum>
  288. <event name="capability">
  289. <description summary="tool capability notification">
  290. This event notifies the client of any capabilities of this tool,
  291. beyond the main set of x/y axes and tip up/down detection.
  292. One event is sent for each extra capability available on this tool.
  293. This event is sent in the initial burst of events before the
  294. wp_tablet_tool.done event.
  295. </description>
  296. <arg name="capability" type="uint" enum="capability" summary="the capability"/>
  297. </event>
  298. <event name="done">
  299. <description summary="tool description events sequence complete">
  300. This event signals the end of the initial burst of descriptive
  301. events. A client may consider the static description of the tool to
  302. be complete and finalize initialization of the tool.
  303. </description>
  304. </event>
  305. <event name="removed">
  306. <description summary="tool removed">
  307. This event is sent when the tool is removed from the system and will
  308. send no further events. Should the physical tool come back into
  309. proximity later, a new wp_tablet_tool object will be created.
  310. It is compositor-dependent when a tool is removed. A compositor may
  311. remove a tool on proximity out, tablet removal or any other reason.
  312. A compositor may also keep a tool alive until shutdown.
  313. If the tool is currently in proximity, a proximity_out event will be
  314. sent before the removed event. See wp_tablet_tool.proximity_out for
  315. the handling of any buttons logically down.
  316. When this event is received, the client must wp_tablet_tool.destroy
  317. the object.
  318. </description>
  319. </event>
  320. <event name="proximity_in">
  321. <description summary="proximity in event">
  322. Notification that this tool is focused on a certain surface.
  323. This event can be received when the tool has moved from one surface to
  324. another, or when the tool has come back into proximity above the
  325. surface.
  326. If any button is logically down when the tool comes into proximity,
  327. the respective button event is sent after the proximity_in event but
  328. within the same frame as the proximity_in event.
  329. </description>
  330. <arg name="serial" type="uint"/>
  331. <arg name="tablet" type="object" interface="zwp_tablet_v2" summary="The tablet the tool is in proximity of"/>
  332. <arg name="surface" type="object" interface="wl_surface" summary="The current surface the tablet tool is over"/>
  333. </event>
  334. <event name="proximity_out">
  335. <description summary="proximity out event">
  336. Notification that this tool has either left proximity, or is no
  337. longer focused on a certain surface.
  338. When the tablet tool leaves proximity of the tablet, button release
  339. events are sent for each button that was held down at the time of
  340. leaving proximity. These events are sent before the proximity_out
  341. event but within the same wp_tablet.frame.
  342. If the tool stays within proximity of the tablet, but the focus
  343. changes from one surface to another, a button release event may not
  344. be sent until the button is actually released or the tool leaves the
  345. proximity of the tablet.
  346. </description>
  347. </event>
  348. <event name="down">
  349. <description summary="tablet tool is making contact">
  350. Sent whenever the tablet tool comes in contact with the surface of the
  351. tablet.
  352. If the tool is already in contact with the tablet when entering the
  353. input region, the client owning said region will receive a
  354. wp_tablet.proximity_in event, followed by a wp_tablet.down
  355. event and a wp_tablet.frame event.
  356. Note that this event describes logical contact, not physical
  357. contact. On some devices, a compositor may not consider a tool in
  358. logical contact until a minimum physical pressure threshold is
  359. exceeded.
  360. </description>
  361. <arg name="serial" type="uint"/>
  362. </event>
  363. <event name="up">
  364. <description summary="tablet tool is no longer making contact">
  365. Sent whenever the tablet tool stops making contact with the surface of
  366. the tablet, or when the tablet tool moves out of the input region
  367. and the compositor grab (if any) is dismissed.
  368. If the tablet tool moves out of the input region while in contact
  369. with the surface of the tablet and the compositor does not have an
  370. ongoing grab on the surface, the client owning said region will
  371. receive a wp_tablet.up event, followed by a wp_tablet.proximity_out
  372. event and a wp_tablet.frame event. If the compositor has an ongoing
  373. grab on this device, this event sequence is sent whenever the grab
  374. is dismissed in the future.
  375. Note that this event describes logical contact, not physical
  376. contact. On some devices, a compositor may not consider a tool out
  377. of logical contact until physical pressure falls below a specific
  378. threshold.
  379. </description>
  380. </event>
  381. <event name="motion">
  382. <description summary="motion event">
  383. Sent whenever a tablet tool moves.
  384. </description>
  385. <arg name="x" type="fixed" summary="surface-local x coordinate"/>
  386. <arg name="y" type="fixed" summary="surface-local y coordinate"/>
  387. </event>
  388. <event name="pressure">
  389. <description summary="pressure change event">
  390. Sent whenever the pressure axis on a tool changes. The value of this
  391. event is normalized to a value between 0 and 65535.
  392. Note that pressure may be nonzero even when a tool is not in logical
  393. contact. See the down and up events for more details.
  394. </description>
  395. <arg name="pressure" type="uint" summary="The current pressure value"/>
  396. </event>
  397. <event name="distance">
  398. <description summary="distance change event">
  399. Sent whenever the distance axis on a tool changes. The value of this
  400. event is normalized to a value between 0 and 65535.
  401. Note that distance may be nonzero even when a tool is not in logical
  402. contact. See the down and up events for more details.
  403. </description>
  404. <arg name="distance" type="uint" summary="The current distance value"/>
  405. </event>
  406. <event name="tilt">
  407. <description summary="tilt change event">
  408. Sent whenever one or both of the tilt axes on a tool change. Each tilt
  409. value is in degrees, relative to the z-axis of the tablet.
  410. The angle is positive when the top of a tool tilts along the
  411. positive x or y axis.
  412. </description>
  413. <arg name="tilt_x" type="fixed" summary="The current value of the X tilt axis"/>
  414. <arg name="tilt_y" type="fixed" summary="The current value of the Y tilt axis"/>
  415. </event>
  416. <event name="rotation">
  417. <description summary="z-rotation change event">
  418. Sent whenever the z-rotation axis on the tool changes. The
  419. rotation value is in degrees clockwise from the tool's
  420. logical neutral position.
  421. </description>
  422. <arg name="degrees" type="fixed" summary="The current rotation of the Z axis"/>
  423. </event>
  424. <event name="slider">
  425. <description summary="Slider position change event">
  426. Sent whenever the slider position on the tool changes. The
  427. value is normalized between -65535 and 65535, with 0 as the logical
  428. neutral position of the slider.
  429. The slider is available on e.g. the Wacom Airbrush tool.
  430. </description>
  431. <arg name="position" type="int" summary="The current position of slider"/>
  432. </event>
  433. <event name="wheel">
  434. <description summary="Wheel delta event">
  435. Sent whenever the wheel on the tool emits an event. This event
  436. contains two values for the same axis change. The degrees value is
  437. in the same orientation as the wl_pointer.vertical_scroll axis. The
  438. clicks value is in discrete logical clicks of the mouse wheel. This
  439. value may be zero if the movement of the wheel was less
  440. than one logical click.
  441. Clients should choose either value and avoid mixing degrees and
  442. clicks. The compositor may accumulate values smaller than a logical
  443. click and emulate click events when a certain threshold is met.
  444. Thus, wl_tablet_tool.wheel events with non-zero clicks values may
  445. have different degrees values.
  446. </description>
  447. <arg name="degrees" type="fixed" summary="The wheel delta in degrees"/>
  448. <arg name="clicks" type="int" summary="The wheel delta in discrete clicks"/>
  449. </event>
  450. <enum name="button_state">
  451. <description summary="physical button state">
  452. Describes the physical state of a button that produced the button event.
  453. </description>
  454. <entry name="released" value="0" summary="button is not pressed"/>
  455. <entry name="pressed" value="1" summary="button is pressed"/>
  456. </enum>
  457. <event name="button">
  458. <description summary="button event">
  459. Sent whenever a button on the tool is pressed or released.
  460. If a button is held down when the tool moves in or out of proximity,
  461. button events are generated by the compositor. See
  462. wp_tablet_tool.proximity_in and wp_tablet_tool.proximity_out for
  463. details.
  464. </description>
  465. <arg name="serial" type="uint"/>
  466. <arg name="button" type="uint" summary="The button whose state has changed"/>
  467. <arg name="state" type="uint" enum="button_state" summary="Whether the button was pressed or released"/>
  468. </event>
  469. <event name="frame">
  470. <description summary="frame event">
  471. Marks the end of a series of axis and/or button updates from the
  472. tablet. The Wayland protocol requires axis updates to be sent
  473. sequentially, however all events within a frame should be considered
  474. one hardware event.
  475. </description>
  476. <arg name="time" type="uint" summary="The time of the event with millisecond granularity"/>
  477. </event>
  478. <enum name="error">
  479. <entry name="role" value="0" summary="given wl_surface has another role"/>
  480. </enum>
  481. </interface>
  482. <interface name="zwp_tablet_v2" version="1">
  483. <description summary="graphics tablet device">
  484. The wp_tablet interface represents one graphics tablet device. The
  485. tablet interface itself does not generate events; all events are
  486. generated by wp_tablet_tool objects when in proximity above a tablet.
  487. A tablet has a number of static characteristics, e.g. device name and
  488. pid/vid. These capabilities are sent in an event sequence after the
  489. wp_tablet_seat.tablet_added event. This initial event sequence is
  490. terminated by a wp_tablet.done event.
  491. </description>
  492. <request name="destroy" type="destructor">
  493. <description summary="destroy the tablet object">
  494. This destroys the client's resource for this tablet object.
  495. </description>
  496. </request>
  497. <event name="name">
  498. <description summary="tablet device name">
  499. A descriptive name for the tablet device.
  500. If the device has no descriptive name, this event is not sent.
  501. This event is sent in the initial burst of events before the
  502. wp_tablet.done event.
  503. </description>
  504. <arg name="name" type="string" summary="the device name"/>
  505. </event>
  506. <event name="id">
  507. <description summary="tablet device USB vendor/product id">
  508. The USB vendor and product IDs for the tablet device.
  509. If the device has no USB vendor/product ID, this event is not sent.
  510. This can happen for virtual devices or non-USB devices, for instance.
  511. This event is sent in the initial burst of events before the
  512. wp_tablet.done event.
  513. </description>
  514. <arg name="vid" type="uint" summary="USB vendor id"/>
  515. <arg name="pid" type="uint" summary="USB product id"/>
  516. </event>
  517. <event name="path">
  518. <description summary="path to the device">
  519. A system-specific device path that indicates which device is behind
  520. this wp_tablet. This information may be used to gather additional
  521. information about the device, e.g. through libwacom.
  522. A device may have more than one device path. If so, multiple
  523. wp_tablet.path events are sent. A device may be emulated and not
  524. have a device path, and in that case this event will not be sent.
  525. The format of the path is unspecified, it may be a device node, a
  526. sysfs path, or some other identifier. It is up to the client to
  527. identify the string provided.
  528. This event is sent in the initial burst of events before the
  529. wp_tablet.done event.
  530. </description>
  531. <arg name="path" type="string" summary="path to local device"/>
  532. </event>
  533. <event name="done">
  534. <description summary="tablet description events sequence complete">
  535. This event is sent immediately to signal the end of the initial
  536. burst of descriptive events. A client may consider the static
  537. description of the tablet to be complete and finalize initialization
  538. of the tablet.
  539. </description>
  540. </event>
  541. <event name="removed">
  542. <description summary="tablet removed event">
  543. Sent when the tablet has been removed from the system. When a tablet
  544. is removed, some tools may be removed.
  545. When this event is received, the client must wp_tablet.destroy
  546. the object.
  547. </description>
  548. </event>
  549. </interface>
  550. <interface name="zwp_tablet_pad_ring_v2" version="1">
  551. <description summary="pad ring">
  552. A circular interaction area, such as the touch ring on the Wacom Intuos
  553. Pro series tablets.
  554. Events on a ring are logically grouped by the wl_tablet_pad_ring.frame
  555. event.
  556. </description>
  557. <request name="set_feedback">
  558. <description summary="set compositor feedback">
  559. Request that the compositor use the provided feedback string
  560. associated with this ring. This request should be issued immediately
  561. after a wp_tablet_pad_group.mode_switch event from the corresponding
  562. group is received, or whenever the ring is mapped to a different
  563. action. See wp_tablet_pad_group.mode_switch for more details.
  564. Clients are encouraged to provide context-aware descriptions for
  565. the actions associated with the ring; compositors may use this
  566. information to offer visual feedback about the button layout
  567. (eg. on-screen displays).
  568. The provided string 'description' is a UTF-8 encoded string to be
  569. associated with this ring, and is considered user-visible; general
  570. internationalization rules apply.
  571. The serial argument will be that of the last
  572. wp_tablet_pad_group.mode_switch event received for the group of this
  573. ring. Requests providing other serials than the most recent one will be
  574. ignored.
  575. </description>
  576. <arg name="description" type="string" summary="ring description"/>
  577. <arg name="serial" type="uint" summary="serial of the mode switch event"/>
  578. </request>
  579. <request name="destroy" type="destructor">
  580. <description summary="destroy the ring object">
  581. This destroys the client's resource for this ring object.
  582. </description>
  583. </request>
  584. <enum name="source">
  585. <description summary="ring axis source">
  586. Describes the source types for ring events. This indicates to the
  587. client how a ring event was physically generated; a client may
  588. adjust the user interface accordingly. For example, events
  589. from a "finger" source may trigger kinetic scrolling.
  590. </description>
  591. <entry name="finger" value="1" summary="finger"/>
  592. </enum>
  593. <event name="source">
  594. <description summary="ring event source">
  595. Source information for ring events.
  596. This event does not occur on its own. It is sent before a
  597. wp_tablet_pad_ring.frame event and carries the source information
  598. for all events within that frame.
  599. The source specifies how this event was generated. If the source is
  600. wp_tablet_pad_ring.source.finger, a wp_tablet_pad_ring.stop event
  601. will be sent when the user lifts the finger off the device.
  602. This event is optional. If the source is unknown for an interaction,
  603. no event is sent.
  604. </description>
  605. <arg name="source" type="uint" enum="source" summary="the event source"/>
  606. </event>
  607. <event name="angle">
  608. <description summary="angle changed">
  609. Sent whenever the angle on a ring changes.
  610. The angle is provided in degrees clockwise from the logical
  611. north of the ring in the pad's current rotation.
  612. </description>
  613. <arg name="degrees" type="fixed" summary="the current angle in degrees"/>
  614. </event>
  615. <event name="stop">
  616. <description summary="interaction stopped">
  617. Stop notification for ring events.
  618. For some wp_tablet_pad_ring.source types, a wp_tablet_pad_ring.stop
  619. event is sent to notify a client that the interaction with the ring
  620. has terminated. This enables the client to implement kinetic scrolling.
  621. See the wp_tablet_pad_ring.source documentation for information on
  622. when this event may be generated.
  623. Any wp_tablet_pad_ring.angle events with the same source after this
  624. event should be considered as the start of a new interaction.
  625. </description>
  626. </event>
  627. <event name="frame">
  628. <description summary="end of a ring event sequence">
  629. Indicates the end of a set of ring events that logically belong
  630. together. A client is expected to accumulate the data in all events
  631. within the frame before proceeding.
  632. All wp_tablet_pad_ring events before a wp_tablet_pad_ring.frame event belong
  633. logically together. For example, on termination of a finger interaction
  634. on a ring the compositor will send a wp_tablet_pad_ring.source event,
  635. a wp_tablet_pad_ring.stop event and a wp_tablet_pad_ring.frame event.
  636. A wp_tablet_pad_ring.frame event is sent for every logical event
  637. group, even if the group only contains a single wp_tablet_pad_ring
  638. event. Specifically, a client may get a sequence: angle, frame,
  639. angle, frame, etc.
  640. </description>
  641. <arg name="time" type="uint" summary="timestamp with millisecond granularity"/>
  642. </event>
  643. </interface>
  644. <interface name="zwp_tablet_pad_strip_v2" version="1">
  645. <description summary="pad strip">
  646. A linear interaction area, such as the strips found in Wacom Cintiq
  647. models.
  648. Events on a strip are logically grouped by the wl_tablet_pad_strip.frame
  649. event.
  650. </description>
  651. <request name="set_feedback">
  652. <description summary="set compositor feedback">
  653. Requests the compositor to use the provided feedback string
  654. associated with this strip. This request should be issued immediately
  655. after a wp_tablet_pad_group.mode_switch event from the corresponding
  656. group is received, or whenever the strip is mapped to a different
  657. action. See wp_tablet_pad_group.mode_switch for more details.
  658. Clients are encouraged to provide context-aware descriptions for
  659. the actions associated with the strip, and compositors may use this
  660. information to offer visual feedback about the button layout
  661. (eg. on-screen displays).
  662. The provided string 'description' is a UTF-8 encoded string to be
  663. associated with this ring, and is considered user-visible; general
  664. internationalization rules apply.
  665. The serial argument will be that of the last
  666. wp_tablet_pad_group.mode_switch event received for the group of this
  667. strip. Requests providing other serials than the most recent one will be
  668. ignored.
  669. </description>
  670. <arg name="description" type="string" summary="strip description"/>
  671. <arg name="serial" type="uint" summary="serial of the mode switch event"/>
  672. </request>
  673. <request name="destroy" type="destructor">
  674. <description summary="destroy the strip object">
  675. This destroys the client's resource for this strip object.
  676. </description>
  677. </request>
  678. <enum name="source">
  679. <description summary="strip axis source">
  680. Describes the source types for strip events. This indicates to the
  681. client how a strip event was physically generated; a client may
  682. adjust the user interface accordingly. For example, events
  683. from a "finger" source may trigger kinetic scrolling.
  684. </description>
  685. <entry name="finger" value="1" summary="finger"/>
  686. </enum>
  687. <event name="source">
  688. <description summary="strip event source">
  689. Source information for strip events.
  690. This event does not occur on its own. It is sent before a
  691. wp_tablet_pad_strip.frame event and carries the source information
  692. for all events within that frame.
  693. The source specifies how this event was generated. If the source is
  694. wp_tablet_pad_strip.source.finger, a wp_tablet_pad_strip.stop event
  695. will be sent when the user lifts their finger off the device.
  696. This event is optional. If the source is unknown for an interaction,
  697. no event is sent.
  698. </description>
  699. <arg name="source" type="uint" enum="source" summary="the event source"/>
  700. </event>
  701. <event name="position">
  702. <description summary="position changed">
  703. Sent whenever the position on a strip changes.
  704. The position is normalized to a range of [0, 65535], the 0-value
  705. represents the top-most and/or left-most position of the strip in
  706. the pad's current rotation.
  707. </description>
  708. <arg name="position" type="uint" summary="the current position"/>
  709. </event>
  710. <event name="stop">
  711. <description summary="interaction stopped">
  712. Stop notification for strip events.
  713. For some wp_tablet_pad_strip.source types, a wp_tablet_pad_strip.stop
  714. event is sent to notify a client that the interaction with the strip
  715. has terminated. This enables the client to implement kinetic
  716. scrolling. See the wp_tablet_pad_strip.source documentation for
  717. information on when this event may be generated.
  718. Any wp_tablet_pad_strip.position events with the same source after this
  719. event should be considered as the start of a new interaction.
  720. </description>
  721. </event>
  722. <event name="frame">
  723. <description summary="end of a strip event sequence">
  724. Indicates the end of a set of events that represent one logical
  725. hardware strip event. A client is expected to accumulate the data
  726. in all events within the frame before proceeding.
  727. All wp_tablet_pad_strip events before a wp_tablet_pad_strip.frame event belong
  728. logically together. For example, on termination of a finger interaction
  729. on a strip the compositor will send a wp_tablet_pad_strip.source event,
  730. a wp_tablet_pad_strip.stop event and a wp_tablet_pad_strip.frame
  731. event.
  732. A wp_tablet_pad_strip.frame event is sent for every logical event
  733. group, even if the group only contains a single wp_tablet_pad_strip
  734. event. Specifically, a client may get a sequence: position, frame,
  735. position, frame, etc.
  736. </description>
  737. <arg name="time" type="uint" summary="timestamp with millisecond granularity"/>
  738. </event>
  739. </interface>
  740. <interface name="zwp_tablet_pad_group_v2" version="1">
  741. <description summary="a set of buttons, rings and strips">
  742. A pad group describes a distinct (sub)set of buttons, rings and strips
  743. present in the tablet. The criteria of this grouping is usually positional,
  744. eg. if a tablet has buttons on the left and right side, 2 groups will be
  745. presented. The physical arrangement of groups is undisclosed and may
  746. change on the fly.
  747. Pad groups will announce their features during pad initialization. Between
  748. the corresponding wp_tablet_pad.group event and wp_tablet_pad_group.done, the
  749. pad group will announce the buttons, rings and strips contained in it,
  750. plus the number of supported modes.
  751. Modes are a mechanism to allow multiple groups of actions for every element
  752. in the pad group. The number of groups and available modes in each is
  753. persistent across device plugs. The current mode is user-switchable, it
  754. will be announced through the wp_tablet_pad_group.mode_switch event both
  755. whenever it is switched, and after wp_tablet_pad.enter.
  756. The current mode logically applies to all elements in the pad group,
  757. although it is at clients' discretion whether to actually perform different
  758. actions, and/or issue the respective .set_feedback requests to notify the
  759. compositor. See the wp_tablet_pad_group.mode_switch event for more details.
  760. </description>
  761. <request name="destroy" type="destructor">
  762. <description summary="destroy the pad object">
  763. Destroy the wp_tablet_pad_group object. Objects created from this object
  764. are unaffected and should be destroyed separately.
  765. </description>
  766. </request>
  767. <event name="buttons">
  768. <description summary="buttons announced">
  769. Sent on wp_tablet_pad_group initialization to announce the available
  770. buttons in the group. Button indices start at 0, a button may only be
  771. in one group at a time.
  772. This event is first sent in the initial burst of events before the
  773. wp_tablet_pad_group.done event.
  774. Some buttons are reserved by the compositor. These buttons may not be
  775. assigned to any wp_tablet_pad_group. Compositors may broadcast this
  776. event in the case of changes to the mapping of these reserved buttons.
  777. If the compositor happens to reserve all buttons in a group, this event
  778. will be sent with an empty array.
  779. </description>
  780. <arg name="buttons" type="array" summary="buttons in this group"/>
  781. </event>
  782. <event name="ring">
  783. <description summary="ring announced">
  784. Sent on wp_tablet_pad_group initialization to announce available rings.
  785. One event is sent for each ring available on this pad group.
  786. This event is sent in the initial burst of events before the
  787. wp_tablet_pad_group.done event.
  788. </description>
  789. <arg name="ring" type="new_id" interface="zwp_tablet_pad_ring_v2"/>
  790. </event>
  791. <event name="strip">
  792. <description summary="strip announced">
  793. Sent on wp_tablet_pad initialization to announce available strips.
  794. One event is sent for each strip available on this pad group.
  795. This event is sent in the initial burst of events before the
  796. wp_tablet_pad_group.done event.
  797. </description>
  798. <arg name="strip" type="new_id" interface="zwp_tablet_pad_strip_v2"/>
  799. </event>
  800. <event name="modes">
  801. <description summary="mode-switch ability announced">
  802. Sent on wp_tablet_pad_group initialization to announce that the pad
  803. group may switch between modes. A client may use a mode to store a
  804. specific configuration for buttons, rings and strips and use the
  805. wl_tablet_pad_group.mode_switch event to toggle between these
  806. configurations. Mode indices start at 0.
  807. Switching modes is compositor-dependent. See the
  808. wp_tablet_pad_group.mode_switch event for more details.
  809. This event is sent in the initial burst of events before the
  810. wp_tablet_pad_group.done event. This event is only sent when more than
  811. more than one mode is available.
  812. </description>
  813. <arg name="modes" type="uint" summary="the number of modes"/>
  814. </event>
  815. <event name="done">
  816. <description summary="tablet group description events sequence complete">
  817. This event is sent immediately to signal the end of the initial
  818. burst of descriptive events. A client may consider the static
  819. description of the tablet to be complete and finalize initialization
  820. of the tablet group.
  821. </description>
  822. </event>
  823. <event name="mode_switch">
  824. <description summary="mode switch event">
  825. Notification that the mode was switched.
  826. A mode applies to all buttons, rings and strips in a group
  827. simultaneously, but a client is not required to assign different actions
  828. for each mode. For example, a client may have mode-specific button
  829. mappings but map the ring to vertical scrolling in all modes. Mode
  830. indices start at 0.
  831. Switching modes is compositor-dependent. The compositor may provide
  832. visual cues to the client about the mode, e.g. by toggling LEDs on
  833. the tablet device. Mode-switching may be software-controlled or
  834. controlled by one or more physical buttons. For example, on a Wacom
  835. Intuos Pro, the button inside the ring may be assigned to switch
  836. between modes.
  837. The compositor will also send this event after wp_tablet_pad.enter on
  838. each group in order to notify of the current mode. Groups that only
  839. feature one mode will use mode=0 when emitting this event.
  840. If a button action in the new mode differs from the action in the
  841. previous mode, the client should immediately issue a
  842. wp_tablet_pad.set_feedback request for each changed button.
  843. If a ring or strip action in the new mode differs from the action
  844. in the previous mode, the client should immediately issue a
  845. wp_tablet_ring.set_feedback or wp_tablet_strip.set_feedback request
  846. for each changed ring or strip.
  847. </description>
  848. <arg name="time" type="uint" summary="the time of the event with millisecond granularity"/>
  849. <arg name="serial" type="uint"/>
  850. <arg name="mode" type="uint" summary="the new mode of the pad"/>
  851. </event>
  852. </interface>
  853. <interface name="zwp_tablet_pad_v2" version="1">
  854. <description summary="a set of buttons, rings and strips">
  855. A pad device is a set of buttons, rings and strips
  856. usually physically present on the tablet device itself. Some
  857. exceptions exist where the pad device is physically detached, e.g. the
  858. Wacom ExpressKey Remote.
  859. Pad devices have no axes that control the cursor and are generally
  860. auxiliary devices to the tool devices used on the tablet surface.
  861. A pad device has a number of static characteristics, e.g. the number
  862. of rings. These capabilities are sent in an event sequence after the
  863. wp_tablet_seat.pad_added event before any actual events from this pad.
  864. This initial event sequence is terminated by a wp_tablet_pad.done
  865. event.
  866. All pad features (buttons, rings and strips) are logically divided into
  867. groups and all pads have at least one group. The available groups are
  868. notified through the wp_tablet_pad.group event; the compositor will
  869. emit one event per group before emitting wp_tablet_pad.done.
  870. Groups may have multiple modes. Modes allow clients to map multiple
  871. actions to a single pad feature. Only one mode can be active per group,
  872. although different groups may have different active modes.
  873. </description>
  874. <request name="set_feedback">
  875. <description summary="set compositor feedback">
  876. Requests the compositor to use the provided feedback string
  877. associated with this button. This request should be issued immediately
  878. after a wp_tablet_pad_group.mode_switch event from the corresponding
  879. group is received, or whenever a button is mapped to a different
  880. action. See wp_tablet_pad_group.mode_switch for more details.
  881. Clients are encouraged to provide context-aware descriptions for
  882. the actions associated with each button, and compositors may use
  883. this information to offer visual feedback on the button layout
  884. (e.g. on-screen displays).
  885. Button indices start at 0. Setting the feedback string on a button
  886. that is reserved by the compositor (i.e. not belonging to any
  887. wp_tablet_pad_group) does not generate an error but the compositor
  888. is free to ignore the request.
  889. The provided string 'description' is a UTF-8 encoded string to be
  890. associated with this ring, and is considered user-visible; general
  891. internationalization rules apply.
  892. The serial argument will be that of the last
  893. wp_tablet_pad_group.mode_switch event received for the group of this
  894. button. Requests providing other serials than the most recent one will
  895. be ignored.
  896. </description>
  897. <arg name="button" type="uint" summary="button index"/>
  898. <arg name="description" type="string" summary="button description"/>
  899. <arg name="serial" type="uint" summary="serial of the mode switch event"/>
  900. </request>
  901. <request name="destroy" type="destructor">
  902. <description summary="destroy the pad object">
  903. Destroy the wp_tablet_pad object. Objects created from this object
  904. are unaffected and should be destroyed separately.
  905. </description>
  906. </request>
  907. <event name="group">
  908. <description summary="group announced">
  909. Sent on wp_tablet_pad initialization to announce available groups.
  910. One event is sent for each pad group available.
  911. This event is sent in the initial burst of events before the
  912. wp_tablet_pad.done event. At least one group will be announced.
  913. </description>
  914. <arg name="pad_group" type="new_id" interface="zwp_tablet_pad_group_v2"/>
  915. </event>
  916. <event name="path">
  917. <description summary="path to the device">
  918. A system-specific device path that indicates which device is behind
  919. this wp_tablet_pad. This information may be used to gather additional
  920. information about the device, e.g. through libwacom.
  921. The format of the path is unspecified, it may be a device node, a
  922. sysfs path, or some other identifier. It is up to the client to
  923. identify the string provided.
  924. This event is sent in the initial burst of events before the
  925. wp_tablet_pad.done event.
  926. </description>
  927. <arg name="path" type="string" summary="path to local device"/>
  928. </event>
  929. <event name="buttons">
  930. <description summary="buttons announced">
  931. Sent on wp_tablet_pad initialization to announce the available
  932. buttons.
  933. This event is sent in the initial burst of events before the
  934. wp_tablet_pad.done event. This event is only sent when at least one
  935. button is available.
  936. </description>
  937. <arg name="buttons" type="uint" summary="the number of buttons"/>
  938. </event>
  939. <event name="done">
  940. <description summary="pad description event sequence complete">
  941. This event signals the end of the initial burst of descriptive
  942. events. A client may consider the static description of the pad to
  943. be complete and finalize initialization of the pad.
  944. </description>
  945. </event>
  946. <enum name="button_state">
  947. <description summary="physical button state">
  948. Describes the physical state of a button that caused the button
  949. event.
  950. </description>
  951. <entry name="released" value="0" summary="the button is not pressed"/>
  952. <entry name="pressed" value="1" summary="the button is pressed"/>
  953. </enum>
  954. <event name="button">
  955. <description summary="physical button state">
  956. Sent whenever the physical state of a button changes.
  957. </description>
  958. <arg name="time" type="uint" summary="the time of the event with millisecond granularity"/>
  959. <arg name="button" type="uint" summary="the index of the button that changed state"/>
  960. <arg name="state" type="uint" enum="button_state"/>
  961. </event>
  962. <event name="enter">
  963. <description summary="enter event">
  964. Notification that this pad is focused on the specified surface.
  965. </description>
  966. <arg name="serial" type="uint" summary="serial number of the enter event"/>
  967. <arg name="tablet" type="object" interface="zwp_tablet_v2" summary="the tablet the pad is attached to"/>
  968. <arg name="surface" type="object" interface="wl_surface" summary="surface the pad is focused on"/>
  969. </event>
  970. <event name="leave">
  971. <description summary="leave event">
  972. Notification that this pad is no longer focused on the specified
  973. surface.
  974. </description>
  975. <arg name="serial" type="uint" summary="serial number of the leave event"/>
  976. <arg name="surface" type="object" interface="wl_surface" summary="surface the pad is no longer focused on"/>
  977. </event>
  978. <event name="removed">
  979. <description summary="pad removed event">
  980. Sent when the pad has been removed from the system. When a tablet
  981. is removed its pad(s) will be removed too.
  982. When this event is received, the client must destroy all rings, strips
  983. and groups that were offered by this pad, and issue wp_tablet_pad.destroy
  984. the pad itself.
  985. </description>
  986. </event>
  987. </interface>
  988. </protocol>