MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / ProcessKeyboard_SDL

Function ProcessKeyboard_SDL

engine/Poseidon/Input/InputProcessingSdl.cpp:192–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192void ProcessKeyboard_SDL(DWORD /*sysTime*/, DWORD timeDelta)
193{
194 // Use GlobalTickCount() so all timestamps share the same epoch.
195 // (Event timestamps are in GlobalTickCount() space, not ::GetTickCount())
196 DWORD sysTime = GlobalTickCount();
197 GInput.keyboard.Update(sysTime, timeDelta, GWorld->IsUserInputEnabled());
198 if (GWorld)
199 {
200 GWorld->HandleVoiceChatShortcuts();
201 }

Callers 1

ProcessKeyboardFunction · 0.85

Calls 3

GlobalTickCountFunction · 0.85
IsUserInputEnabledMethod · 0.80
UpdateMethod · 0.45

Tested by

no test coverage detected