Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atraczyk/2d-engine
/ buttonDown
Method
buttonDown
engine/src/input.cpp:76–76 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
74
}
75
76
bool Mouse::buttonDown() { return bButtons_state[input_state][0]; }
77
78
bool Mouse::buttonUp() { return !bButtons_state[input_state][0]; }
79
Callers
3
I_updateGameInput
Function · 0.80
I_updateProgramInput
Function · 0.80
update
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected