summaryrefslogtreecommitdiff
path: root/Runtime/Events/InputEvent.cpp
blob: e062bc289727477f43b74b1ad597bfd8d057b018 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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"

}