MCPcopy Create free account
hub / github.com/crownengine/crown / input_device_axis

Function input_device_axis

src/lua/lua_api.cpp:364–369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362}
363
364static int input_device_axis(lua_State *L, const InputDevice &dev)
365{
366 LuaStack stack(L, +1);
367 stack.push_vector3(dev.axis(stack.get_int(1)));
368 return 1;
369}
370
371static int input_device_button_name(lua_State *L, const InputDevice &dev)
372{

Callers

nothing calls this directly

Calls 2

push_vector3Method · 0.80
axisMethod · 0.45

Tested by

no test coverage detected