From c05dee7072851d3799c10a56d4df2c7d7cf98933 Mon Sep 17 00:00:00 2001 From: Parapets Date: Fri, 8 Dec 2023 17:23:36 +0000 Subject: [PATCH] Update input contexts for 1.6.1130 --- include/RE/C/ControlMap.h | 20 ++++++++++---------- include/RE/U/UserEvents.h | 5 +++-- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/include/RE/C/ControlMap.h b/include/RE/C/ControlMap.h index 35877fac0..e450f0d4d 100644 --- a/include/RE/C/ControlMap.h +++ b/include/RE/C/ControlMap.h @@ -85,15 +85,15 @@ namespace RE // members InputContext* controlMap[InputContextID::kTotal]; // 060 - BSTArray linkedMappings; // 0E8 - BSTArray contextPriorityStack; // 100 - stl::enumeration enabledControls; // 118 - stl::enumeration unk11C; // 11C - std::int8_t textEntryCount; // 120 - bool ignoreKeyboardMouse; // 121 - bool ignoreActivateDisabledEvents; // 122 - std::uint8_t pad123; // 123 - stl::enumeration gamePadMapType; // 124 + BSTArray linkedMappings; // 0F0 + BSTArray contextPriorityStack; // 108 + stl::enumeration enabledControls; // 120 + stl::enumeration unk124; // 124 + std::int8_t textEntryCount; // 128 + bool ignoreKeyboardMouse; // 129 + bool ignoreActivateDisabledEvents; // 12A + std::uint8_t pad12B; // 12B + stl::enumeration gamePadMapType; // 12C }; - static_assert(sizeof(ControlMap) == 0x128); + static_assert(sizeof(ControlMap) == 0x130); } diff --git a/include/RE/U/UserEvents.h b/include/RE/U/UserEvents.h index a42defa7b..1e533a54a 100644 --- a/include/RE/U/UserEvents.h +++ b/include/RE/U/UserEvents.h @@ -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;