If your mouse is stuck or clicking doesn't work in Grand Theft Auto: San Andreas on Windows 10, it is likely because the game was not designed for modern multi-core processors or newer DirectInput versions.
Open (Ctrl+Shift+Esc) and go to the Details tab. Right-click gta_sa.exe and select Set Affinity . Uncheck All Processors and select only CPU 0 .
The most effective way to solve this issue permanently is to use a community-made fix that replaces the bugged input method with modern raw input. If your mouse is stuck or clicking doesn't
: Search for DINPUT8.dll for GTA SA on trusted sites like Speedrun.com or GitHub .
: Right-click the GTA SA shortcut on your desktop and select Open file location . Uncheck All Processors and select only CPU 0
: Launch GTA SA, and your mouse should now function correctly every time you play. Alternative Method: Set CPU Affinity
Return to the game. You may need to repeat this every time you launch the game unless you create a custom batch file to automate it. : Right-click the GTA SA shortcut on your
If you don't want to download third-party files, you can manually force the game to run on a single CPU core, which is often the cause of the glitch. Launch GTA San Andreas and out of the game.