summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorHansem Ro <hansemro@outlook.com>2022-06-19 02:58:24 -0700
committerHansem Ro <hansemro@outlook.com>2022-07-04 10:36:53 -0700
commit6dcc9d11319ddb59089fb54551f852249081e027 (patch)
treeea7e0cb977967dc95ef860d5e5d9237db87b265c /doc/classes
parentd572d3d2abf07ace216fd31f7ace97e4bfc76cc5 (diff)
[macOS, Windows, X11] Add stylus inverted/eraser support to
InputEventMouseMotion event
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/InputEventMouseMotion.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/classes/InputEventMouseMotion.xml b/doc/classes/InputEventMouseMotion.xml
index ad74204d82..83aad587a5 100644
--- a/doc/classes/InputEventMouseMotion.xml
+++ b/doc/classes/InputEventMouseMotion.xml
@@ -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>