diff options
Diffstat (limited to 'src/libjin-lua/modules/keyboard/l_keyboard.cpp')
-rw-r--r-- | src/libjin-lua/modules/keyboard/l_keyboard.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/libjin-lua/modules/keyboard/l_keyboard.cpp b/src/libjin-lua/modules/keyboard/l_keyboard.cpp new file mode 100644 index 0000000..4eba31d --- /dev/null +++ b/src/libjin-lua/modules/keyboard/l_keyboard.cpp @@ -0,0 +1,17 @@ +#include "common/l_common.h" +#include "common/l_object.h" + +namespace JinEngine +{ + namespace Lua + { + //https://wiki.libsdl.org/SDL_Keycode + + LUA_EXPORT int luaopen_keyboard(lua_State* L) + { + luax_newlib(L, 0); + return 1; + } + + } // namespace Lua +} // namespace JinEngine
\ No newline at end of file |