This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| adapted from https://patch-diff.githubusercontent.com/raw/ValveSoftware/openvr/pull/1890.patch | |
| --- | |
| subprojects/openvr/CMakeLists.txt | 2 +- | |
| 1 file changed, 1 insertion(+), 1 deletion(-) | |
| diff --git a/subprojects/openvr/CMakeLists.txt b/subprojects/openvr/CMakeLists.txt | |
| index fb4c7851..52678aff 100644 | |
| --- a/subprojects/openvr/CMakeLists.txt | |
| +++ b/subprojects/openvr/CMakeLists.txt | |
| @@ -1,5 +1,5 @@ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- a/PKGBUILD | |
| +++ b/PKGBUILD | |
| @@ -69,6 +69,7 @@ source=( | |
| 'git+https://github.com/Joshua-Ashton/reshade.git' | |
| 'git+https://github.com/Joshua-Ashton/GamescopeShaders.git#tag=v0.1' | |
| 'git+https://github.com/KhronosGroup/SPIRV-Headers.git' | |
| + 'https://gist.githubusercontent.com/VoodaGod/e4ac5363bd98b86cf7ab739101f852e5/raw/84528836ac13b3ef1ce708b786ae514d1bdc0480/mouse_sense_fix.patch' | |
| ) | |
| b2sums=( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/wlserver.cpp b/src/wlserver.cpp | |
| index 75fa37c6..20d64c8e 100644 | |
| --- a/src/wlserver.cpp | |
| +++ b/src/wlserver.cpp | |
| @@ -2753,6 +2753,16 @@ void wlserver_mousemotion( double dx, double dy, uint32_t time ) | |
| dx *= g_mouseSensitivity; | |
| dy *= g_mouseSensitivity; | |
| + | |
| + static double rem_x = 0.0; |