Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crownengine/crown
/ axis
Method
axis
src/device/input_device.cpp:80–86 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
78
}
79
80
Vector3 InputDevice::axis(u8 id) const
81
{
82
if (id >= _num_axes)
83
return VECTOR3_ZERO;
84
85
return _axis[id];
86
}
87
88
const char *InputDevice::button_name(u8 id) const
89
{
Callers
2
read
Method · 0.45
input_device_axis
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected