From e4caea2f9549f3e272e7e931da0069cdd0fba2cd Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 30 Dec 2019 23:55:57 +0100 Subject: [PATCH] - set default for mouse control to DirectInput. This simply works a lot better than Raw Input and causes far less problems. Ironic considering that it's the deprecated method... --- source/platform/win32/i_mouse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/platform/win32/i_mouse.cpp b/source/platform/win32/i_mouse.cpp index 82cdbe3d7..53c70f87c 100644 --- a/source/platform/win32/i_mouse.cpp +++ b/source/platform/win32/i_mouse.cpp @@ -162,7 +162,7 @@ CVAR (Bool, m_noprescale, false, CVAR_ARCHIVE|CVAR_GLOBALCONFIG) CVAR (Bool, m_filter, false, CVAR_ARCHIVE|CVAR_GLOBALCONFIG) CVAR (Bool, m_hidepointer, true, 0) -CUSTOM_CVAR (Int, in_mouse, 0, CVAR_ARCHIVE|CVAR_GLOBALCONFIG|CVAR_NOINITCALL) +CUSTOM_CVAR (Int, in_mouse, 2, CVAR_ARCHIVE|CVAR_GLOBALCONFIG|CVAR_NOINITCALL) { if (self < 0) {