diff options
author | chai <chaifix@163.com> | 2018-05-17 18:04:41 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-05-17 18:04:41 +0800 |
commit | 34947d066b994c2ef9121a83497da344982d28e2 (patch) | |
tree | 41a65f6973a9082dafcc081a8a46de99b556370b /src/lua/event/luaopen_event.cpp | |
parent | d45064be602c3becb046d86913ea8013774b0079 (diff) |
v0.1.0
Diffstat (limited to 'src/lua/event/luaopen_event.cpp')
-rw-r--r-- | src/lua/event/luaopen_event.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/event/luaopen_event.cpp b/src/lua/event/luaopen_event.cpp index c12a969..a417b60 100644 --- a/src/lua/event/luaopen_event.cpp +++ b/src/lua/event/luaopen_event.cpp @@ -33,7 +33,7 @@ namespace lua case SDL_QUIT: luax_setfield_string(L, "type", "quit"); break; - + case SDL_KEYDOWN: luax_setfield_string(L, "type", "keydown"); luax_setfield_string(L, "key", SDL_GetKeyName(e.key.keysym.sym)); |