Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BohemiaInteractive/CWR
/ ClearBindings
Method
ClearBindings
engine/Poseidon/Input/InputProfile.cpp:66–73 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
64
}
65
66
void InputProfile::ClearBindings(UserAction action)
67
{
68
int idx = static_cast<int>(action);
69
if (idx < 0 || idx >= UAN)
70
return;
71
bindings_[idx].clear();
72
MarkDirty(action);
73
}
74
75
void InputProfile::ClearAll()
76
{
Callers
12
ResetCategoryDefaults
Method · 0.80
RebindProfile
Function · 0.80
ReplaceGamepadBindings
Function · 0.80
BindCombo
Function · 0.80
test_input_integration.cpp
File · 0.80
SetSingleBinding
Function · 0.80
test_binding_conflict.cpp
File · 0.80
BindMenuProfile
Function · 0.80
test_modifier_combos.cpp
File · 0.80
test_input_profile.cpp
File · 0.80
test_kbm_page.cpp
File · 0.80
test_gamepad_page.cpp
File · 0.80
Calls
1
clear
Method · 0.80
Tested by
3
BindCombo
Function · 0.64
SetSingleBinding
Function · 0.64
BindMenuProfile
Function · 0.64