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

Function BindAxis

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

Source from the content-addressed store, hash-verified

89}
90
91void BindAxis(InputProfile& profile, UserAction action, int axis, float scale)
92{
93 profile.Bind(action, InputBinding(InputCode::GamepadAx(axis), InputCode{}, ActivationMode::OnHold, scale));
94}
95
96void BindAxis(InputProfile& profile, UserAction action, int axis, InputCode modifier, float scale)
97{

Callers 4

ApplyFreelookDefaultsFunction · 0.85

Calls 2

InputBindingClass · 0.85
BindMethod · 0.45

Tested by

no test coverage detected