FWGS / hlsdk-portable

Portable Half-Life SDK. GoldSource and Xash3D. Crossplatform.
https://xash.su
Other
266 stars 121 forks source link

Fix instant camera movement after closing the VGUI menu #455

Closed FreeSlave closed 3 months ago

FreeSlave commented 3 months ago

Fix #454

The bug doesn't appear on Windows with disabled raw input, so we may limit the fix to Linux and Windows with enabled raw input. Also the function name is questionable. Probably something like IN_VGUIMenuShown would be better. What do you think?

I don't know if joystick input has a similar problem and if it needs a fix.