iamnoobplzhelp
Contributor
Contributor

Mouse hits "edge" when trying to play games

Hello,

I have workstation player, non-commercial. I'm trying to use it to play games, specifically a game called Empyrion. I'm having trouble with the mouse. When in the game, the mouse will go a certain distance and then just stop, like it's hit a wall. So I can only turn within a 90º angle total. I've searched the forums and found a number of things which I've tried.

 

I've tried going to the preferences file and adding these 2 lines:

%AppData%\Roaming\Vmware

pref.motionGrab = "FALSE"

pref.motionUngrab = "FALSE"

 

This at least allowed the VM to "capture" the mouse and then I can use ctrl+alt to get out of the VM

 

Since I am using workstation player, I don't have any "gaming mouse options" in the config, but I learned that I can edit the .vmx file and add these options:

# Equivalent to "Automatic" in the UI

mks.gamingMouse.policy = "dynamic"

# Equivalent to "Always" in the UI

mks.gamingMouse.policy = "gaming"

# Equivalent to "Never" in the UI

mks.gamingMouse.policy = "absolute"

# Doesn't have a UI equivalent, but disables motion grab/ungrab while keeping the accelerated cursor (like "Never")

mks.gamingMouse.policy = "absgaming"

# Doesn't have a UI equivalent, but forces the unaccelerated mouse (like "Always") without disabling motion grab/ungrab

mks.gamingMouse.policy = "relative"

 

I've tried them all, but none of them allow me to do what I'm trying. I've shut down the VM entirely between each try. They all give the same behavior within the game. I move my mouse all the way to the left, but it stops when it hits the "side" of the VM.

I have the game in full screen mode, I have the VM in full screen mode. Not sure what else to try at this point.

Reply
0 Kudos
iamnoobplzhelp
Contributor
Contributor

bump

Reply
0 Kudos
iamnoobplzhelp
Contributor
Contributor

I finally found the right option. I need to add this line to the vmx file:

vmmouse.present = "FALSE"

 

Found on this thread:

https://communities.vmware.com/t5/VMware-Workstation-Pro/Mouse-in-FPS-games/td-p/1507761

View solution in original post

Reply
0 Kudos
banackm
VMware Employee
VMware Employee

Does your VM have a USB controller attached?

I would expect that with a USB controller attached, we'll attach our virtual USB mouse, which gives us more options for sending Guest mouse events.  That plus the "Gaming Mouse" setting of "Always" in the UI (or mks.gamingMouse.policy = "gaming" ) should do the same thing as turning off vmmouse.

Reply
0 Kudos