Browse Source

Fix missing word in Window focus section of Controllers, gamepads and joysticks

Hugo Locurcio 2 years ago
parent
commit
e606097168
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tutorials/inputs/controllers_gamepads_joysticks.rst

+ 1 - 1
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
 ``Focus.input_is_action_pressed(action)`` where ``action`` is the name of
 the input action. Also, instead of using ``event.is_action_pressed(action)``,
 the input action. Also, instead of using ``event.is_action_pressed(action)``,
 use ``Focus.event_is_action_pressed(event, action)`` where ``event`` is an
 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
 Power saving prevention
 ^^^^^^^^^^^^^^^^^^^^^^^
 ^^^^^^^^^^^^^^^^^^^^^^^