From 5ba33f846129f3e6c0505b19f94634b24505e828 Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Sun, 26 Apr 2026 15:16:36 +0100 Subject: config/lua: init lua config manager, use lua if available (#13817) Adds a new lua config manager, which will automatically be used if there is a lua config present. --- src/config/lua/objects/LuaKeybind.hpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/config/lua/objects/LuaKeybind.hpp (limited to 'src/config/lua/objects/LuaKeybind.hpp') diff --git a/src/config/lua/objects/LuaKeybind.hpp b/src/config/lua/objects/LuaKeybind.hpp new file mode 100644 index 00000000..c55ed998 --- /dev/null +++ b/src/config/lua/objects/LuaKeybind.hpp @@ -0,0 +1,12 @@ +#pragma once + +#include "LuaObjectHelpers.hpp" +#include "../../../managers/KeybindManager.hpp" + +namespace Config::Lua::Objects { + class CLuaKeybind : public ILuaObjectWrapper { + public: + void setup(lua_State* L) override; + static void push(lua_State* L, const SP& keybind); + }; +} -- cgit v1.2.3