MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / ddio_KeyDownCount

Function ddio_KeyDownCount

ddio/key.cpp:186–191  ·  view source on GitHub ↗

return number of times a key's been down since last call.

Source from the content-addressed store, hash-verified

184
185// return number of times a key's been down since last call.
186int ddio_KeyDownCount(int key) {
187 int count = DDIO_key_down_count[key];
188 DDIO_key_down_count[key] = 0;
189
190 return count;
191}
192
193// returns the state of an ADJUSTED KEY VALUE
194bool ddio_GetAdjKeyState(int adj_key) {

Callers 2

get_key_valueMethod · 0.85
get_key_valueMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected