From e6060971680759b76dcbd7c67a0b523872d79110 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Mon, 8 May 2023 23:20:26 +0200 Subject: [PATCH] Fix missing word in Window focus section of Controllers, gamepads and joysticks --- tutorials/inputs/controllers_gamepads_joysticks.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/inputs/controllers_gamepads_joysticks.rst b/tutorials/inputs/controllers_gamepads_joysticks.rst index 53588f16e..b0936927f 100644 --- a/tutorials/inputs/controllers_gamepads_joysticks.rst +++ b/tutorials/inputs/controllers_gamepads_joysticks.rst @@ -259,7 +259,7 @@ Then, instead of using ``Input.is_action_pressed(action)``, use ``Focus.input_is_action_pressed(action)`` where ``action`` is the name of the input action. Also, instead of using ``event.is_action_pressed(action)``, use ``Focus.event_is_action_pressed(event, action)`` where ``event`` is an -InputEvent reference ``action`` is the name of the input action. +InputEvent reference and ``action`` is the name of the input action. Power saving prevention ^^^^^^^^^^^^^^^^^^^^^^^