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

Function BindButton

engine/Poseidon/UI/Settings/ContextControlsConfig.cpp:101–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101void BindButton(InputProfile& profile, UserAction action, int button)
102{
103 profile.Bind(action, InputCode::GamepadBtn(button));
104}
105
106void BindButton(InputProfile& profile, UserAction action, int button, InputCode modifier)
107{

Callers 4

Calls 2

InputBindingClass · 0.85
BindMethod · 0.45

Tested by

no test coverage detected