输入控制函数
| 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()); |
nothing calls this directly
no outgoing calls
no test coverage detected