From 30961c60ab84e3234d9eb1d92b70ec2634bb6b6c Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Thu, 12 Mar 2020 14:05:49 +0100 Subject: [PATCH] =?UTF-8?q?Improve=20the=20`Input.set=5Fuse=5Faccumulated?= =?UTF-8?q?=5Finput()`=C2=A0documentation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/classes/Input.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/classes/Input.xml b/doc/classes/Input.xml index 557a63b1cc1e..0f212e7498fd 100644 --- a/doc/classes/Input.xml +++ b/doc/classes/Input.xml @@ -349,7 +349,8 @@ - Whether to accumulate similar input events sent by the operating system. Enabled by default. + Enables or disables the accumulation of similar input events sent by the operating system. When input accumulation is enabled, all input events generated during a frame will be merged and emitted when the frame is done rendering. Therefore, this limits the number of input method calls per second to the rendering FPS. + Input accumulation is enabled by default. It can be disabled to get slightly more precise/reactive input at the cost of increased CPU usage. In applications where drawing freehand lines is required, input accumulation should generally be disabled while the user is drawing the line to get results that closely follow the actual input.