33 A platform UI is free to implement buttons in any way. However, the Window |
33 A platform UI is free to implement buttons in any way. However, the Window |
34 Server interprets only Button1 as an <b>action</b> and does not interpret |
34 Server interprets only Button1 as an <b>action</b> and does not interpret |
35 the other buttons. </p> <fig id="GUID-2664573F-C5E8-573F-9427-783074351585"> |
35 the other buttons. </p> <fig id="GUID-2664573F-C5E8-573F-9427-783074351585"> |
36 <title> Driver communicates pointer state changes to the Window Server |
36 <title> Driver communicates pointer state changes to the Window Server |
37 </title> |
37 </title> |
38 <image href="GUID-35521A99-3F1F-5EE1-8078-FFD8A298C0BD_d0e197572_href.png" placement="inline"/> |
38 <image href="GUID-35521A99-3F1F-5EE1-8078-FFD8A298C0BD_d0e192564_href.png" placement="inline"/> |
39 </fig> <p>For a complete list of pointer states, the events that can be sent |
39 </fig> <p>For a complete list of pointer states, the events that can be sent |
40 by the driver, and the associated events that the Window Server sends to the |
40 by the driver, and the associated events that the Window Server sends to the |
41 client, see the <xref href="GUID-9AD75103-CD56-5279-B639-5CA2BBF979B5.dita#GUID-9AD75103-CD56-5279-B639-5CA2BBF979B5/GUID-EC2B9C82-D678-5DFE-89A8-8CFCF5376244">Pointer |
41 client, see the <xref href="GUID-9AD75103-CD56-5279-B639-5CA2BBF979B5.dita#GUID-9AD75103-CD56-5279-B639-5CA2BBF979B5/GUID-EC2B9C82-D678-5DFE-89A8-8CFCF5376244">Pointer |
42 states and event communication</xref> table below. </p> </section> |
42 states and event communication</xref> table below. </p> </section> |
43 <section id="GUID-3698CDAC-A904-5C44-BFD1-669D9673D02B"><title> Pointer states</title> <p>Pointing |
43 <section id="GUID-3698CDAC-A904-5C44-BFD1-669D9673D02B"><title> Pointer states</title> <p>Pointing |
68 </table> <p>The following diagram shows the extension of the <i>Up</i> and <i>Down</i> states |
68 </table> <p>The following diagram shows the extension of the <i>Up</i> and <i>Down</i> states |
69 with additional substates. <i>Up</i> is extended with substates describing |
69 with additional substates. <i>Up</i> is extended with substates describing |
70 the <b>closeness</b> of the pointer to the screen. <i>Down</i> is extended |
70 the <b>closeness</b> of the pointer to the screen. <i>Down</i> is extended |
71 with substates describing <b>pressing</b>. </p> <fig id="GUID-54DA3BEC-A650-5223-8E46-5B68F414A909"> |
71 with substates describing <b>pressing</b>. </p> <fig id="GUID-54DA3BEC-A650-5223-8E46-5B68F414A909"> |
72 <title> Extension of Up and Down states with substates </title> |
72 <title> Extension of Up and Down states with substates </title> |
73 <image href="GUID-4E1D4E5D-7CE6-5A93-9170-BEF2937FC953_d0e197686_href.png" placement="inline"/> |
73 <image href="GUID-4E1D4E5D-7CE6-5A93-9170-BEF2937FC953_d0e192678_href.png" placement="inline"/> |
74 </fig> <p>The Window Server generates the following events for changes of |
74 </fig> <p>The Window Server generates the following events for changes of |
75 closeness and pressing: </p> <ul> |
75 closeness and pressing: </p> <ul> |
76 <li id="GUID-72265325-882B-5B38-ABE7-EFDF05758B97"><p> <codeph>EExitCloseProximity</codeph> </p> </li> |
76 <li id="GUID-72265325-882B-5B38-ABE7-EFDF05758B97"><p> <codeph>EExitCloseProximity</codeph> </p> </li> |
77 <li id="GUID-D22BF039-8D17-53A4-83C1-3390EBDFBE46"><p> <codeph>EEnterCloseProximity</codeph> </p> </li> |
77 <li id="GUID-D22BF039-8D17-53A4-83C1-3390EBDFBE46"><p> <codeph>EEnterCloseProximity</codeph> </p> </li> |
78 <li id="GUID-5968A499-B87B-54D2-9926-EF446ED1BCCD"><p> <codeph>EExitHighPressure</codeph> </p> </li> |
78 <li id="GUID-5968A499-B87B-54D2-9926-EF446ED1BCCD"><p> <codeph>EExitHighPressure</codeph> </p> </li> |
279 the pointer traverses the full cycle of events—from OutOfRange, through Down/InHighPressure |
279 the pointer traverses the full cycle of events—from OutOfRange, through Down/InHighPressure |
280 and back to OutOfRange. This diagram does not show all of the possible state |
280 and back to OutOfRange. This diagram does not show all of the possible state |
281 transitions that are described in the table above. </p> <fig id="GUID-C39B447C-0908-5F9A-95EC-2F97E56E2C20"> |
281 transitions that are described in the table above. </p> <fig id="GUID-C39B447C-0908-5F9A-95EC-2F97E56E2C20"> |
282 <title> Events sent from Window Server to client while the pointer traverses |
282 <title> Events sent from Window Server to client while the pointer traverses |
283 the full cycle of states. </title> |
283 the full cycle of states. </title> |
284 <image href="GUID-8F4C626F-3490-50BC-A97F-FD1972FFF65B_d0e198639_href.png" placement="inline"/> |
284 <image href="GUID-8F4C626F-3490-50BC-A97F-FD1972FFF65B_d0e193631_href.png" placement="inline"/> |
285 </fig> </section> |
285 </fig> </section> |
286 </conbody><related-links> |
286 </conbody><related-links> |
287 <link href="GUID-9C269F45-F160-5A4B-ABF8-896D2A538E3B.dita"><linktext>Advanced |
287 <link href="GUID-9C269F45-F160-5A4B-ABF8-896D2A538E3B.dita"><linktext>Advanced |
288 Pointer Overview</linktext></link> |
288 Pointer Overview</linktext></link> |
289 <link href="GUID-C60DC070-572B-5960-B394-550426FDB909.dita"><linktext>Advanced |
289 <link href="GUID-C60DC070-572B-5960-B394-550426FDB909.dita"><linktext>Advanced |