diff options
Diffstat (limited to 'docs/source/techspecs')
-rw-r--r-- | docs/source/techspecs/luareference.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/source/techspecs/luareference.rst b/docs/source/techspecs/luareference.rst index dd63ab62de2..8ca4e984517 100644 --- a/docs/source/techspecs/luareference.rst +++ b/docs/source/techspecs/luareference.rst @@ -2549,6 +2549,10 @@ manager.machine.uiinput Methods ^^^^^^^ +uiinput:reset() + Clears pending events and UI input states. Should be called when leaving a + modal state where input is handled directly (e.g. configuring an input + combination). uiinput:find_mouse() Returns host system mouse pointer X position, Y position, button state, and the :ref:`render target <luareference-render-target>` it falls in. The |