As far as I know the GUI protovol does not allow mouse capturing (even for security reasons). The way some of us do it is through GPU passthrough on a second monitor with dedicated mouse and keyboard. But that is it’s own adventure. However, if you want any reasonable gaming performance, GPU passthrough is necessary anyways.