From 3e0262509f394ad174d8abe0742a6a6b66b0b16a Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Wed, 17 Feb 2021 16:07:56 +0200 Subject: Move tablet driver API from OS to DisplayServer. --- doc/classes/DisplayServer.xml | 36 ++++++++++++++++++++++++++++++++++++ doc/classes/OS.xml | 21 --------------------- doc/classes/ProjectSettings.xml | 9 ++++++--- 3 files changed, 42 insertions(+), 24 deletions(-) (limited to 'doc') diff --git a/doc/classes/DisplayServer.xml b/doc/classes/DisplayServer.xml index d91ea6528a..a4b5e28797 100644 --- a/doc/classes/DisplayServer.xml +++ b/doc/classes/DisplayServer.xml @@ -635,6 +635,42 @@ + + + + + Returns current active tablet driver name. + [b]Note:[/b] This method is implemented on Windows. + + + + + + + Returns the total number of available tablet drivers. + [b]Note:[/b] This method is implemented on Windows. + + + + + + + + + Returns the tablet driver name for the given index. + [b]Note:[/b] This method is implemented on Windows. + + + + + + + + + Set active tablet driver name. + [b]Note:[/b] This method is implemented on Windows. + + diff --git a/doc/classes/OS.xml b/doc/classes/OS.xml index 8620de1378..ffcd0d4c98 100644 --- a/doc/classes/OS.xml +++ b/doc/classes/OS.xml @@ -304,24 +304,6 @@ [b]Note:[/b] This method is implemented on Android, Linux, macOS and Windows. - - - - - Returns the total number of available tablet drivers. - [b]Note:[/b] This method is implemented on Windows. - - - - - - - - - Returns the tablet driver name for the given index. - [b]Note:[/b] This method is implemented on Windows. - - @@ -563,9 +545,6 @@ The amount of sleeping between frames when the low-processor usage mode is enabled (in microseconds). Higher values will result in lower CPU usage. - - The current tablet driver in use. - diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xml index be72f83406..e075ca46cf 100644 --- a/doc/classes/ProjectSettings.xml +++ b/doc/classes/ProjectSettings.xml @@ -469,6 +469,12 @@ Position offset for tooltips, relative to the mouse cursor's hotspot. + + Specifies the tablet driver to use. If left empty, the default driver will be used. + + + Override for [member input_devices/pen_tablet/driver] on Windows. + If [code]true[/code], allows HiDPI display on Windows and macOS. This setting has no effect on desktop Linux, as DPI-awareness fallbacks are not supported there. @@ -513,9 +519,6 @@ Sets the game's main viewport width. On desktop platforms, this is the default window size. Stretch mode settings also use this as a reference when enabled. - - Specifies the tablet driver to use. If left empty, the default driver will be used. - Specifies the [TextServer] to use. If left empty, the default will be used. -- cgit v1.2.3