瀏覽代碼

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

Hugo Locurcio 2 年之前
父節點
當前提交
e606097168
共有 1 個文件被更改,包括 1 次插入1 次删除
  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
 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
 ^^^^^^^^^^^^^^^^^^^^^^^