mirror of
https://github.com/godotengine/godot.git
synced 2024-11-29 15:42:29 +00:00
Document how to distinguish emulated mouse events from physical ones
Mouse events emulated from a touchscreen will always have a device ID of -1.
This commit is contained in:
parent
b8e8f4942d
commit
9ae73f7bb5
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user