MCPcopy Create free account
hub / github.com/atraczyk/2d-engine / hatReleased

Method hatReleased

engine/src/input.cpp:133–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133bool GamePad::hatReleased(GP_HatDirection direction)
134{
135 return !(bHat_state[input_state][direction]) &&
136 (bHat_state[input_state ^ 1][direction]);
137}
138
139bool GamePad::hatDown(GP_HatDirection direction)
140{

Callers 2

I_updateGameInputFunction · 0.80
I_updateMenuInputFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected