Skip to content

Commit

Permalink
Update input contexts for 1.6.1130
Browse files Browse the repository at this point in the history
  • Loading branch information
Exit-9B committed Dec 8, 2023
1 parent c0519e3 commit c05dee7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
20 changes: 10 additions & 10 deletions include/RE/C/ControlMap.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,15 @@ namespace RE

// members
InputContext* controlMap[InputContextID::kTotal]; // 060
BSTArray<LinkedMapping> linkedMappings; // 0E8
BSTArray<InputContextID> contextPriorityStack; // 100
stl::enumeration<UEFlag, std::uint32_t> enabledControls; // 118
stl::enumeration<UEFlag, std::uint32_t> unk11C; // 11C
std::int8_t textEntryCount; // 120
bool ignoreKeyboardMouse; // 121
bool ignoreActivateDisabledEvents; // 122
std::uint8_t pad123; // 123
stl::enumeration<PC_GAMEPAD_TYPE, std::uint32_t> gamePadMapType; // 124
BSTArray<LinkedMapping> linkedMappings; // 0F0
BSTArray<InputContextID> contextPriorityStack; // 108
stl::enumeration<UEFlag, std::uint32_t> enabledControls; // 120
stl::enumeration<UEFlag, std::uint32_t> unk124; // 124
std::int8_t textEntryCount; // 128
bool ignoreKeyboardMouse; // 129
bool ignoreActivateDisabledEvents; // 12A
std::uint8_t pad12B; // 12B
stl::enumeration<PC_GAMEPAD_TYPE, std::uint32_t> gamePadMapType; // 12C
};
static_assert(sizeof(ControlMap) == 0x128);
static_assert(sizeof(ControlMap) == 0x130);
}
5 changes: 3 additions & 2 deletions include/RE/U/UserEvents.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ namespace RE
kTFCMode,
kMapDebug,
kLockpicking,
kCreationsMenu, // added in 1.6.1130
kFavor,

kTotal = 17,
kTotal,

kNone = 18
kNone
};
};
using INPUT_CONTEXT_ID = INPUT_CONTEXT_IDS::INPUT_CONTEXT_ID;
Expand Down

0 comments on commit c05dee7

Please sign in to comment.