From c6919171723338f2fe4ad930f8caa61f8de93daf Mon Sep 17 00:00:00 2001 From: Evil Eye Date: Mon, 10 Mar 2025 16:37:13 +0100 Subject: [PATCH] Distinguish between I.Controls and I.GamepadControls --- docs/source/reference/lua-scripting/tables/interfaces.rst | 2 +- files/data/scripts/omw/input/gamepadcontrols.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/reference/lua-scripting/tables/interfaces.rst b/docs/source/reference/lua-scripting/tables/interfaces.rst index 3a074c1ad7..944a483dda 100644 --- a/docs/source/reference/lua-scripting/tables/interfaces.rst +++ b/docs/source/reference/lua-scripting/tables/interfaces.rst @@ -21,7 +21,7 @@ - by player scripts - | Allows to alter behavior of the built-in script | that handles player controls. - * - :ref:`Controls ` + * - :ref:`GamepadControls ` - by player scripts - | Allows to alter behavior of the built-in script | that handles player gamepad controls. diff --git a/files/data/scripts/omw/input/gamepadcontrols.lua b/files/data/scripts/omw/input/gamepadcontrols.lua index b55b806b4a..1f944fc708 100644 --- a/files/data/scripts/omw/input/gamepadcontrols.lua +++ b/files/data/scripts/omw/input/gamepadcontrols.lua @@ -6,7 +6,7 @@ return { --- -- Gamepad control interface -- @module GamepadControls - + -- @usage require('openmw.interfaces').GamepadControls interface = { --- Interface version -- @field [parent=#GamepadControls] #number version