Skip to content

Commit 118ced0

Browse files
Pyrhameclaude
andcommitted
Gamepad: LB+RS click → ToggleLockOnEnemy (Shift+X equivalent)
Replaces the LB+RS click POV toggle (1st/3rd person camera) with ToggleLockOnEnemy. POV toggle remains available via F key on keyboard. MCM label renamed from "POV toggle" to "Lock-on toggle (Shift+X)". Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent ea8217b commit 118ced0

5 files changed

Lines changed: 4 additions & 12 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
### Changes
1212
- Active effects shortcut moved from Ctrl+H to Shift+H — Ctrl+H was conflicting with the vanilla stand/crouch shortcut some players remap to Ctrl. Press Shift+H in game to hear your active effects (poisons, diseases, buffs, etc.)
13+
- Gamepad: LB + right stick click now toggles enemy lock-on (equivalent to Shift+X on keyboard) instead of toggling first/third person camera. The MCM label has been renamed accordingly. POV toggle is still available via the F key on keyboard
1314

1415
### Bug fixes
1516
- **Map markers no longer disappear after autowalk** — a critical bug introduced in v1.5.1 caused vanilla map markers (cities, forts, dungeons, etc.) to be permanently deleted when stopping an autowalk if you had previously placed a custom map marker via P. The autowalk cleanup was identifying any XMarker (baseForm 0x10) as one of our temporary markers and deleting it, but vanilla map markers share the same baseForm. The cleanup now only deletes markers we explicitly created via PlaceAtMe. If you lost markers from a previous autowalk session, they need to be rediscovered (visit the location once)

autowalk/SkyrimTTS_MCM.pex

14 Bytes
Binary file not shown.

autowalk/SkyrimTTS_MCM.psc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ event OnPageReset(string page)
226226
AddEmptyOption()
227227
AddHeaderOption("Other LB combos")
228228
oidGpSneak = AddMenuOption("Sneak toggle", GetGpButtonName(GpIdxSneak))
229-
oidGpPOV = AddMenuOption("POV toggle", GetGpButtonName(GpIdxPOV))
229+
oidGpPOV = AddMenuOption("Lock-on toggle (Shift+X)", GetGpButtonName(GpIdxPOV))
230230

231231
AddEmptyOption()
232232
AddHeaderOption("Standalone (no LB)")

autowalk/SkyrimTTS_MCM_Native.pex

0 Bytes
Binary file not shown.

src/gamepad_hook.h

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -300,17 +300,8 @@ namespace GamepadHook
300300
if (idCode == keyTeleport) { LOG("GAMEPAD: LB+Teleport → ScannerTeleport"); ScannerTeleport(); return true; }
301301
if (idCode == keySneak) { LOG("GAMEPAD: LB+Sneak → ToggleSneak"); ToggleSneakGamepad(); return true; }
302302
if (idCode == keyPOV) {
303-
LOG("GAMEPAD: LB+POV → TogglePOV");
304-
auto* camera = RE::PlayerCamera::GetSingleton();
305-
if (camera) {
306-
if (camera->IsInFirstPerson()) {
307-
camera->ForceThirdPerson();
308-
Speak(L"Third person");
309-
} else {
310-
camera->ForceFirstPerson();
311-
Speak(L"First person");
312-
}
313-
}
303+
LOG("GAMEPAD: LB+RS click → ToggleLockOnEnemy (Shift+X equivalent)");
304+
ToggleLockOnEnemy();
314305
return true;
315306
}
316307

0 commit comments

Comments
 (0)