MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / GetKeyState

Method GetKeyState

LuaSTGPlus/LuaWrapper.cpp:1652–1656  ·  view source on GitHub ↗

输入控制函数

Source from the content-addressed store, hash-verified

1650
1651 // 输入控制函数
1652 static int GetKeyState(lua_State* L)LNOEXCEPT
1653 {
1654 lua_pushboolean(L, LAPP.GetKeyState(luaL_checkinteger(L, -1)));
1655 return 1;
1656 }
1657 static int GetLastKey(lua_State* L)LNOEXCEPT
1658 {
1659 lua_pushinteger(L, LAPP.GetLastKey());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected