MCPcopy Create free account
hub / github.com/ValveSoftware/source-sdk-2013 / KeyState

Method KeyState

src/game/client/in_main.cpp:587–631  ·  view source on GitHub ↗

=============== KeyState Returns 0.25 if a key was pressed and released during the frame, 0.5 if it was pressed and held 0 if held then released, and 1.0 if held for the entire time =============== */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

IN_DuckToggleFunction · 0.80
CAM_ThinkMethod · 0.80
CalcDemoViewOverrideFunction · 0.80
CreateMoveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected