Merge pull request #34700 from Calinou/doc-input-device-touchscreen-id

Document how to distinguish emulated mouse events from physical ones
This commit is contained in:
Rémi Verschelde 2019-12-30 18:16:10 +01:00 committed by GitHub
commit 33b560a5cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -111,6 +111,7 @@
<members>
<member name="device" type="int" setter="set_device" getter="get_device" default="0">
The event's device ID.
[b]Note:[/b] This device ID will always be [code]-1[/code] for emulated mouse input from a touchscreen. This can be used to distinguish emulated mouse input from physical mouse input.
</member>
</members>
<constants>