- 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...
This commit is contained in:
Christoph Oelckers 2019-12-30 23:55:57 +01:00
parent 91a4e0a005
commit e4caea2f95

View file

@ -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_filter, false, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
CVAR (Bool, m_hidepointer, true, 0) 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) if (self < 0)
{ {