diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-12-10 18:49:29 +1100 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-12-10 18:49:29 +1100 |
commit | d95eac316405fb100963d47dcd95ccced3462383 (patch) | |
tree | 8229a98c4b96cbd4268c5ceb02f3a3b5754a6daa /source/game/scripting/StarInputLuaBindings.cpp | |
parent | dd52188e53e690f8eb872421f8a4c3bcc5699133 (diff) |
Input: binds can now make the clipboard available while held, config option to always allow
Diffstat (limited to 'source/game/scripting/StarInputLuaBindings.cpp')
-rw-r--r-- | source/game/scripting/StarInputLuaBindings.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/game/scripting/StarInputLuaBindings.cpp b/source/game/scripting/StarInputLuaBindings.cpp index 9a99c4a..565e3b9 100644 --- a/source/game/scripting/StarInputLuaBindings.cpp +++ b/source/game/scripting/StarInputLuaBindings.cpp @@ -53,6 +53,7 @@ LuaCallbacks LuaBindings::makeInputCallbacks() { }); callbacks.registerCallbackWithSignature<Vec2I>("mousePosition", bind(mem_fn(&Input::mousePosition), input)); + callbacks.registerCallbackWithSignature<unsigned, String>("getTag", bind(mem_fn(&Input::getTag), input, _1)); return callbacks; } |