diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-07-04 21:48:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-04 21:48:19 +0200 |
commit | 344b42703bab951dbc8c0e7763740ac6b3dfad79 (patch) | |
tree | 9ec6a78b5f67e54ccc69688bc328bc02025b5f9a /doc/classes | |
parent | b4644e283556b499a22dada2db5cff12290440ca (diff) | |
parent | 6dcc9d11319ddb59089fb54551f852249081e027 (diff) |
Merge pull request #62212 from hansemro/eraser-detect-4
Add inversion/eraser-end property for tablet pens
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/InputEventMouseMotion.xml | 4 |
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> |