From 4b818d802378606600e301779cf95cd0261618a9 Mon Sep 17 00:00:00 2001 From: vl Date: Mon, 10 May 2010 10:33:46 +0200 Subject: [PATCH] Fixed: by default on linux DisableDirectInput is set to true --- code/ryzom/client/src/client_cfg.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/ryzom/client/src/client_cfg.cpp b/code/ryzom/client/src/client_cfg.cpp index a91100316..c7364dc69 100644 --- a/code/ryzom/client/src/client_cfg.cpp +++ b/code/ryzom/client/src/client_cfg.cpp @@ -294,7 +294,12 @@ CClientConfig::CClientConfig() ForceDeltaTime = 0; // Default ForceDeltaTime, disabled by default +#ifdef NL_OS_WINDOWS DisableDirectInput = false; // Default DisableDirectInput +#else + DisableDirectInput = true; // no direct input on linux +#endif + DisableDirectInputKeyboard = true; // Default DisableDirectInput fort he keyboard only HardwareCursor = true; // Default HardwareCursor HardwareCursorScale = 0.85f;