Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BohemiaInteractive/CWR
/ SetContext
Method
SetContext
engine/Poseidon/Input/InputSubsystem.cpp:590–593 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
588
589
void InputSubsystem::SetContext(InputContext ctx)
590
{
591
context_ = ctx;
592
}
593
594
float InputSubsystem::GetAction(UserAction action, bool checkFocus) const
595
{
596
return GetAction(context_, action, checkFocus);
Callers
10
UpdateInputContext
Method · 0.45
~FullStateSnapshot
Method · 0.45
ResetState
Function · 0.45
test_input_integration.cpp
File · 0.45
~UserKeysSnapshot
Method · 0.45
ClearAllBindings
Function · 0.45
~UserKeysSnapshot
Method · 0.45
BindMenuProfile
Function · 0.45
test_modifier_combos.cpp
File · 0.45
~UserKeysSnapshot
Method · 0.45
Calls
no outgoing calls
Tested by
7
~FullStateSnapshot
Method · 0.36
ResetState
Function · 0.36
~UserKeysSnapshot
Method · 0.36
ClearAllBindings
Function · 0.36
~UserKeysSnapshot
Method · 0.36
BindMenuProfile
Function · 0.36
~UserKeysSnapshot
Method · 0.36