FWGS / hlsdk-portable

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

Fix instant camera movement after closing the VGUI menu #455

Closed FreeSlave closed 5 months ago

FreeSlave commented 6 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.