Skip to content

Commit

Permalink
Specify value of 1 for mouse events
Browse files Browse the repository at this point in the history
  • Loading branch information
sahirv authored Jan 19, 2024
1 parent 53aa55e commit abe761f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ <h2><code>PointerEvent</code> interface</h2>
</dd>
<dt><dfn>deviceId</dfn></dt>
<dd>
<p>A unique identifier for the device that generates the pointer event. Pointer events generated from the same physical device will have the same <code>deviceId</code> for the browsing session. User agents MAY reserve a generic <code>deviceId</code> value of <code>0</code> or <code>1</code> for events generated by the primary mouse device. The <code>deviceId</code> value of <code>-1</code> MUST be reserved and used to indicate events whose generating device could not be identified.</p>
<p>A unique identifier for the device that generates the pointer event. Pointer events generated from the same physical device will have the same <code>deviceId</code> for the browsing session. A generic <code>deviceId</code> value of <code>1</code> MUST be reserved for events generated by the primary mouse device. The <code>deviceId</code> value of <code>-1</code> MUST be reserved and used to indicate events whose generating device could not be identified.</p>
</dd>
<dt><dfn>getCoalescedEvents()</dfn></dt>
<dd>
Expand Down

0 comments on commit abe761f

Please sign in to comment.