Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
RefocusGuard
Consumes refocus mouse input and blocks local attack/placement gameplay endpoints until the activation click is safely released.
By Daishi11
CHANGELOG
Changelog
0.1.3
- Initial release.
- Consumes mouse input used to refocus Valheim after Alt-Tab.
- Guards Attack, Block, BuildMenu, SecondaryAttack, Remove, and raw mouse reads.
- Keeps a held activation button suppressed until it is released.
- Uses a 0.15 second refocus safety window plus release-latching for the activation button.