[macOS, Windows, X11] Add stylus inverted/eraser support to
InputEventMouseMotion event
This commit is contained in:
parent
d572d3d2ab
commit
6dcc9d1131
9 changed files with 70 additions and 10 deletions
|
|
@ -12,6 +12,10 @@
|
|||
<link title="3D Voxel Demo">https://godotengine.org/asset-library/asset/676</link>
|
||||
</tutorials>
|
||||
<members>
|
||||
<member name="pen_inverted" type="bool" setter="set_pen_inverted" getter="get_pen_inverted" default="false">
|
||||
Returns [code]true[/code] when using the eraser end of a stylus pen.
|
||||
[b]Note:[/b] This property is implemented on Linux, macOS and Windows.
|
||||
</member>
|
||||
<member name="pressure" type="float" setter="set_pressure" getter="get_pressure" default="0.0">
|
||||
Represents the pressure the user puts on the pen. Ranges from [code]0.0[/code] to [code]1.0[/code].
|
||||
</member>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue