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