Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atraczyk/2d-engine
/ fAxisX
Method
fAxisX
engine/src/input.cpp:181–181 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
179
}
180
181
float GamePad::fAxisX() { return (static_cast<float>(lAxisX) / 32767.0f); }
182
183
float GamePad::fAxisY() { return (static_cast<float>(lAxisY) / 32767.0f); }
184
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected