14 class UserEventEnabled;
26 kInvalid =
static_cast<std::uint8_t
>(-1)
108# ifndef SKYRIM_SUPPORT_AE
#define KEEP_FOR_RE()
Definition PCH.h:517
constexpr E get() const noexcept
Definition EnumSet.h:53
constexpr bool all(Args... a_args) const noexcept
Definition EnumSet.h:99
Definition BSTArray.h:378
Definition ControlMap.h:19
constexpr PC_GAMEPAD_TYPE GetGamePadType() const noexcept
Definition ControlMap.h:77
std::uint8_t pad123
Definition ControlMap.h:102
REX::EnumSet< PC_GAMEPAD_TYPE, std::uint32_t > gamePadMapType
Definition ControlMap.h:103
@ kInvalid
Definition ControlMap.h:26
constexpr bool IsFightingControlsEnabled() const noexcept
Definition ControlMap.h:80
constexpr bool AreControlsEnabled(UEFlag a_flags) const noexcept
Definition ControlMap.h:72
void ToggleControls(UEFlag a_flags, bool a_enable)
std::int8_t textEntryCount
Definition ControlMap.h:99
std::int8_t AllowTextInput(bool a_allow)
constexpr bool IsSneakingControlsEnabled() const noexcept
Definition ControlMap.h:86
constexpr bool IsConsoleControlsEnabled() const noexcept
Definition ControlMap.h:79
bool ignoreActivateDisabledEvents
Definition ControlMap.h:101
bool GetMappingFromEventName(const BSFixedString &a_eventID, UserEvents::INPUT_CONTEXT_ID a_context, INPUT_DEVICE a_device, UserEventMapping &a_mapping)
constexpr bool IsMovementControlsEnabled() const noexcept
Definition ControlMap.h:84
bool GetButtonNameFromUserEvent(const BSFixedString &a_eventID, INPUT_DEVICE a_device, BSFixedString &a_buttonName)
constexpr bool IsMainFourControlsEnabled() const noexcept
Definition ControlMap.h:83
std::string_view GetUserEventName(std::uint32_t a_buttonID, INPUT_DEVICE a_device, InputContextID a_context=InputContextID::kGameplay) const
std::uint32_t GetMappedKey(std::string_view a_eventID, INPUT_DEVICE a_device, InputContextID a_context=InputContextID::kGameplay) const
constexpr bool IsPOVSwitchControlsEnabled() const noexcept
Definition ControlMap.h:85
constexpr bool IsActivateControlsEnabled() const noexcept
Definition ControlMap.h:78
InputContext * controlMap[InputContextID::kTotal]
Definition ControlMap.h:94
constexpr bool IsMenuControlsEnabled() const noexcept
Definition ControlMap.h:82
void PopInputContext(InputContextID a_context)
constexpr bool IsLookingControlsEnabled() const noexcept
Definition ControlMap.h:81
constexpr bool IsWheelZoomControlsEnabled() const noexcept
Definition ControlMap.h:88
bool ignoreKeyboardMouse
Definition ControlMap.h:100
constexpr bool IsVATSControlsEnabled() const noexcept
Definition ControlMap.h:87
REX::EnumSet< UEFlag, std::uint32_t > enabledControls
Definition ControlMap.h:97
REX::EnumSet< UEFlag, std::uint32_t > unk11C
Definition ControlMap.h:98
BSTArray< LinkedMapping > linkedMappings
Definition ControlMap.h:95
BSTArray< InputContextID > contextPriorityStack
Definition ControlMap.h:96
void PushInputContext(InputContextID a_context)
static ControlMap * GetSingleton()
INPUT_CONTEXT_IDS::INPUT_CONTEXT_ID INPUT_CONTEXT_ID
Definition UserEvents.h:47
USER_EVENT_FLAG
Definition UserEvents.h:50
Definition AbsorbEffect.h:6
PC_GAMEPAD_TYPE
Definition PCGamepadType.h:6
Definition BSTSingleton.h:50
Definition ControlMap.h:45
BSTArray< UserEventMapping > deviceMappings[INPUT_DEVICES::kTotal]
Definition ControlMap.h:48
Definition ControlMap.h:57
std::uint32_t pad14
Definition ControlMap.h:64
BSFixedString linkFromName
Definition ControlMap.h:65
InputContextID linkedMappingContext
Definition ControlMap.h:61
INPUT_DEVICE device
Definition ControlMap.h:62
BSFixedString linkedMappingName
Definition ControlMap.h:60
InputContextID linkFromContext
Definition ControlMap.h:63
Definition ControlMap.h:30
std::int8_t indexInContext
Definition ControlMap.h:36
BSFixedString eventID
Definition ControlMap.h:33
std::uint16_t modifier
Definition ControlMap.h:35
std::uint16_t inputKey
Definition ControlMap.h:34
bool linked
Definition ControlMap.h:38
bool remappable
Definition ControlMap.h:37
std::uint32_t pad14
Definition ControlMap.h:40
REX::EnumSet< UEFlag, std::uint32_t > userEventGroupFlag
Definition ControlMap.h:39
INPUT_CONTEXT_ID
Definition UserEvents.h:14