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

Function LuaGetButton

source/bind_input.cpp:6–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4// ***********************************************************************
5
6int LuaGetButton(lua_State* pLua) {
7 ControllerButton button = (ControllerButton)luaL_checkinteger(pLua, 1);
8 lua_pushboolean(pLua, GetButton(button));
9 return 1;
10}
11
12// ***********************************************************************
13

Callers

nothing calls this directly

Calls 1

GetButtonFunction · 0.85

Tested by

no test coverage detected