summaryrefslogtreecommitdiff
path: root/Runtime/Events/InputEvent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Runtime/Events/InputEvent.cpp')
-rw-r--r--Runtime/Events/InputEvent.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Runtime/Events/InputEvent.cpp b/Runtime/Events/InputEvent.cpp
index c5994ef..07d8778 100644
--- a/Runtime/Events/InputEvent.cpp
+++ b/Runtime/Events/InputEvent.cpp
@@ -249,6 +249,10 @@ void InputEvent::CastToTable(LuaBind::State& state) const
lua_pushnumber(state, type);
lua_setfield(state, table, "type");
+ // "used"
+ lua_pushboolean(state, use);
+ lua_setfield(state, table, "use");
+
// "mousePosition"
state.PushLuaObject(mousePosition);
lua_setfield(state, table, "mousePosition");