summaryrefslogtreecommitdiff
path: root/Runtime/Events/InputEvent.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-11-08 11:32:32 +0800
committerchai <chaifix@163.com>2021-11-08 11:32:32 +0800
commit13f477664c07826c92eac774f0035994c460c057 (patch)
tree4ca19d4e1520f9c5c24ae826331e096610b72e7c /Runtime/Events/InputEvent.cpp
parent827cbe8f0e846f65593d658ce5e2139259c97928 (diff)
*misc
Diffstat (limited to 'Runtime/Events/InputEvent.cpp')
-rw-r--r--Runtime/Events/InputEvent.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/Runtime/Events/InputEvent.cpp b/Runtime/Events/InputEvent.cpp
index ac41c94..e062bc2 100644
--- a/Runtime/Events/InputEvent.cpp
+++ b/Runtime/Events/InputEvent.cpp
@@ -1,12 +1,19 @@
#include "InputEvent.h"
+InputEvent::InputEvent(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
+{
+
+}
+
void InputEvent::CastToTable(LuaBind::State& state)
{
lua_newtable(state);
int table = state.GetTop();
+ // "type"
lua_pushnumber(state, type);
lua_setfield(state, table, "type");
+ // "mousePosition"
-}
+} \ No newline at end of file