# Linux zero mouse values when running via VPN on other PC

**URL:** <https://forums.unrealengine.com/t/linux-zero-mouse-values-when-running-via-vpn-on-other-pc/467531>\
**Category:** Platform & Builds\
**Tags:** Linux, unreal-engine, Engine-Source-Code, mouse-position, question\
**Created:** [July 2, 2020, 12:53am UTC](https://forums.unrealengine.com/t/linux-zero-mouse-values-when-running-via-vpn-on-other-pc/467531 "2020-07-02T00:53:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_fac8d931](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fac8d931](https://forums.unrealengine.com/u/anonymous_user_fac8d931)\
**Post date:** [July 2, 2020, 12:53am UTC](https://forums.unrealengine.com/t/linux-zero-mouse-values-when-running-via-vpn-on-other-pc/467531/1 "2020-07-02T00:53:12Z")

</div>

Hi,

we’re running Unreal Engine via streaming on an external machine on Linux. UnrealEngine does not seem to pick up the mousemove correctly in its viewport and slate. So e.g. when right-click and move the mouse in a blueprint graph it will move to an indefinite location (as the mouse position delta values are not correct).  
Also in the viewport: Rightclick to move just rotates the y axis very fast and always points the camera to look into the sky.  
When printing out MouseX and MouseY valus from the blueprint they always return 0.

When printing out GetMouseX in C++ in SceneViewport.cpp I get correct values from SDL.

Now I wanted to ask where in the engine would be other points to look for the error? I guess the mouse is not constantly transferred from my PC to the streamed PC with UnrealEngine running, therefore mouse delta values are probably zero or random values.

Some questions:

- Where are the hooks for the AxisBindings in UnrealEngine, which read out the SDL mouse position and feed it into the bind

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fac8d931](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fac8d931](https://forums.unrealengine.com/u/anonymous_user_fac8d931)\
**Post date:** [July 2, 2020, 5:27am UTC](https://forums.unrealengine.com/t/linux-zero-mouse-values-when-running-via-vpn-on-other-pc/467531/2 "2020-07-02T05:27:44Z")

</div>

Got it figured out. I disabled the SlateApplication.cpp SetHighPrecisionMode.

```
void FSlateApplication::ProcessReply( const FWidgetPath& CurrentEventPath, const FReply& TheReply, const FWidgetPath* WidgetsUnderMouse, const FPointerEvent* InMouseEvent, const uint32 UserIndex )
{
   ...    
   //PlatformApplication->SetHighPrecisionMouseMode(true, Window->GetNativeWindow());
   ...
}

```

This mode has caused to Unreal on Linux to use the SDL\_MouseMotionEvent which return wrong relative mouse x and y values when working on a remotely connected machine.
