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

Function LuaGetButtonDown

source/bind_input.cpp:14–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12// ***********************************************************************
13
14int LuaGetButtonDown(lua_State* pLua) {
15 ControllerButton button = (ControllerButton)luaL_checkinteger(pLua, 1);
16 lua_pushboolean(pLua, GetButtonDown(button));
17 return 1;
18}
19
20// ***********************************************************************
21

Callers

nothing calls this directly

Calls 1

GetButtonDownFunction · 0.85

Tested by

no test coverage detected