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

Function LuaGetAxis

source/bind_input.cpp:30–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28// ***********************************************************************
29
30int LuaGetAxis(lua_State* pLua) {
31 ControllerAxis axis = (ControllerAxis)luaL_checkinteger(pLua, 1);
32 lua_pushnumber(pLua, GetAxis(axis));
33 return 1;
34}
35
36// ***********************************************************************
37

Callers

nothing calls this directly

Calls 1

GetAxisFunction · 0.85

Tested by

no test coverage detected