summaryrefslogtreecommitdiff
path: root/Runtime/Events/InputEvent.h
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.h
parent827cbe8f0e846f65593d658ce5e2139259c97928 (diff)
*misc
Diffstat (limited to 'Runtime/Events/InputEvent.h')
-rw-r--r--Runtime/Events/InputEvent.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Runtime/Events/InputEvent.h b/Runtime/Events/InputEvent.h
index 5a5ed36..6069c85 100644
--- a/Runtime/Events/InputEvent.h
+++ b/Runtime/Events/InputEvent.h
@@ -1,5 +1,6 @@
#pragma once
+#include <windows.h>
#include "Runtime/Lua/LuaHelper.h"
#include "Runtime/Math/Math.h"
@@ -49,6 +50,8 @@ struct InputEvent : public LuaBind::INativeTable
bool use;
+ InputEvent(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
+
void CastToTable(LuaBind::State& state) override;
}; \ No newline at end of file