You are not logged in.

#1 2023-12-16 15:17:17

JessicaJill
Member
Registered: 2022-01-04
Posts: 20

[SOLVED] Contain mouse within Game / VM

Just completed setting up my PC to allow GPU passthrough and using Looking-glass ( https://wiki.archlinux.org/title/PCI_pa … _via_OVMF).
My mouse is seamless between Arch and LookingGlass.  Arch is on my right monitor, LG (windows) is on my left and I can drag my mouse back and forth just like its one happy system (i.e., no ctrl-ctrl or other keyboard combinations to break out of the VM environment).

The problem is this is a nightmare when playing first person games, since I can easily drag the mouse outside of the game/VM and into linux.  I was curious if there is a way I can contain my mouse into the game; or if the game is on full screen, just contain the mouse inside of the VM?

Last edited by JessicaJill (2023-12-17 05:15:41)

Offline

#2 2023-12-17 11:37:20

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,181

Re: [SOLVED] Contain mouse within Game / VM

Please share how you solved it.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB