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

Method toLegacy

engine/Poseidon/Input/InputCode.hpp:40–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 constexpr InputDevice device() const { return static_cast<InputDevice>(raw & INPUT_CODE_DEVICE_MASK); }
39 constexpr uint32_t code() const { return raw & INPUT_CODE_VALUE_MASK; }
40 constexpr int toLegacy() const { return static_cast<int>(raw); }
41 constexpr bool valid() const { return raw != 0; }
42
43 constexpr bool operator==(InputCode other) const { return raw == other.raw; }

Callers 15

ProfileModifierHeldFunction · 0.80
QueryProfileCodeFunction · 0.80
QueryProfileCodeToDoFunction · 0.80
FindBindingConflictMethod · 0.80
BindingMatchesFunction · 0.80
ApplyBindingToProfileFunction · 0.80
BindingPrimaryMethod · 0.80
BindingAltMethod · 0.80
OnBindingClickedMethod · 0.80
ReplaceGamepadBindingsFunction · 0.80
AxisPairLabelForFunction · 0.80

Calls

no outgoing calls

Tested by 2

FindGamepadBindingFunction · 0.64
CheckAxisBindingFunction · 0.64