Valheim
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
4 weeks ago
Downloads
472
Size
18KB
ADDatHost Valheim hosting
30% off

ValheimCursorLockFix

Client-side BepInEx 5 plugin for Valheim that keeps the mouse cursor locked and hidden during gameplay, then unlocks it whenever UI needs it.

Features

  • Forces Unity/ZCursor lock during gameplay
  • HardConfine: Win32 ClipCursor keeps the OS cursor inside the Valheim window
  • CenterWhenHidden: pins the OS cursor to the center of the game screen while hidden
  • Chat keeps the cursor hidden; focus is restored after language/IME blips
  • Unlocks for menus, inventory, build menu, map, store, text viewer, console, popups
  • Toggle with F8

Config

BepInEx/config/ua.gyrocopter.valheim.cursorlockfix.cfg

Option Default Description
EnableFix true Enable or disable the fix
ForceLockInGameplay true Unity lock + hide during gameplay
UnlockInMenus true Unlock in menus / text UI
HardConfine.Enabled true ClipCursor to the game window
HardConfine.CenterWhenHidden true Center OS cursor while hidden
ToggleKey F8 Toggle

Changelog

See CHANGELOG.md.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.