Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atraczyk/2d-engine
/ hatUp
Method
hatUp
engine/src/input.cpp:144–147 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
142
}
143
144
bool GamePad::hatUp(GP_HatDirection direction)
145
{
146
return !bHat_state[input_state][direction];
147
}
148
149
bool GamePad::lAxisXPressed(GP_AxisDirection direction)
150
{
Callers
1
I_updateGameInput
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected