MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / PlayerInputKeyDown

Function PlayerInputKeyDown

Source/UserInput/input.cpp:555–562  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

553
554namespace {
555void PlayerInputKeyDown(KeyState* keyState) {
556 if (keyState->count <= 0) {
557 keyState->count *= -1;
558 keyState->count++;
559 keyState->depth_count++;
560 keyState->depth = 1.0f;
561 }
562}
563} // namespace
564
565void Input::ProcessController(int controller_id, float timestep) {

Callers 1

ProcessControllerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected