| OLD | NEW |
| 1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
| 2 <protocol name="stylus_unstable_v1"> | 2 <protocol name="stylus_unstable_v1"> |
| 3 | 3 |
| 4 <copyright> | 4 <copyright> |
| 5 Copyright 2016 The Chromium Authors. | 5 Copyright 2016 The Chromium Authors. |
| 6 | 6 |
| 7 Permission is hereby granted, free of charge, to any person obtaining a | 7 Permission is hereby granted, free of charge, to any person obtaining a |
| 8 copy of this software and associated documentation files (the "Software"), | 8 copy of this software and associated documentation files (the "Software"), |
| 9 to deal in the Software without restriction, including without limitation | 9 to deal in the Software without restriction, including without limitation |
| 10 the rights to use, copy, modify, merge, publish, distribute, sublicense, | 10 the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 <event name="tool_change"> | 75 <event name="tool_change"> |
| 76 <description summary="pointing device tool type changed"> | 76 <description summary="pointing device tool type changed"> |
| 77 Notification that the user is using a new tool type. There can only be | 77 Notification that the user is using a new tool type. There can only be |
| 78 one tool in use at a time. If the pointer enters a client surface, with | 78 one tool in use at a time. If the pointer enters a client surface, with |
| 79 a tool type other than mouse, this event will also be generated. | 79 a tool type other than mouse, this event will also be generated. |
| 80 | 80 |
| 81 If this event is not received, the client has to assume a mouse is in | 81 If this event is not received, the client has to assume a mouse is in |
| 82 use. The remaining events of this protocol are only being generated | 82 use. The remaining events of this protocol are only being generated |
| 83 after this event has been fired with a tool type other than mouse. | 83 after this event has been fired with a tool type other than mouse. |
| 84 </description> | 84 </description> |
| 85 <arg name="type" type="uint" enum="type" summary="new device type"/> | 85 <arg name="type" type="uint" enum="tool_type" summary="new device type"/> |
| 86 </event> | 86 </event> |
| 87 | 87 |
| 88 <event name="force"> | 88 <event name="force"> |
| 89 <description summary="force change event"> | 89 <description summary="force change event"> |
| 90 Notification of a change in physical force on the surface of the screen. | 90 Notification of a change in physical force on the surface of the screen. |
| 91 | 91 |
| 92 If the pointer enters a client surface, with a tool type other than | 92 If the pointer enters a client surface, with a tool type other than |
| 93 mouse, this event will also be generated. | 93 mouse, this event will also be generated. |
| 94 | 94 |
| 95 The force is calibrated and normalized to the 0 to 1 range. | 95 The force is calibrated and normalized to the 0 to 1 range. |
| (...skipping 12 matching lines...) Expand all Loading... |
| 108 Measured from surface normal as plane angle in degrees, values lie in | 108 Measured from surface normal as plane angle in degrees, values lie in |
| 109 [-90,90]. A positive x is to the right and a positive y is towards the | 109 [-90,90]. A positive x is to the right and a positive y is towards the |
| 110 user. | 110 user. |
| 111 </description> | 111 </description> |
| 112 <arg name="time" type="uint" summary="timestamp with millisecond granulari
ty"/> | 112 <arg name="time" type="uint" summary="timestamp with millisecond granulari
ty"/> |
| 113 <arg name="tilt_x" type="fixed" summary="tilt in x direction"/> | 113 <arg name="tilt_x" type="fixed" summary="tilt in x direction"/> |
| 114 <arg name="tilt_y" type="fixed" summary="tilt in y direction"/> | 114 <arg name="tilt_y" type="fixed" summary="tilt in y direction"/> |
| 115 </event> | 115 </event> |
| 116 </interface> | 116 </interface> |
| 117 </protocol> | 117 </protocol> |
| OLD | NEW |