MCPcopy Create free account
hub / github.com/DavidColson/Polybox / LuaGetKeyDown

Function LuaGetKeyDown

source/bind_input.cpp:64–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62// ***********************************************************************
63
64int LuaGetKeyDown(lua_State* pLua) {
65 Key key = (Key)luaL_checkinteger(pLua, 1);
66 lua_pushboolean(pLua, GetKeyDown(key));
67 return 1;
68}
69
70// ***********************************************************************
71

Callers

nothing calls this directly

Calls 1

GetKeyDownFunction · 0.85

Tested by

no test coverage detected