From 639b3973943cce39c3a58a02fef7e87586d8d2d4 Mon Sep 17 00:00:00 2001 From: James Urquhart Date: Mon, 25 Apr 2016 23:26:54 +0100 Subject: [PATCH] Disable input focus disable to preserve sanity (temp) --- Engine/source/windowManager/windowInputGenerator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Engine/source/windowManager/windowInputGenerator.cpp b/Engine/source/windowManager/windowInputGenerator.cpp index 193d0248a..02d863a6b 100644 --- a/Engine/source/windowManager/windowInputGenerator.cpp +++ b/Engine/source/windowManager/windowInputGenerator.cpp @@ -82,7 +82,7 @@ WindowInputGenerator::~WindowInputGenerator() //----------------------------------------------------------------------------- void WindowInputGenerator::generateInputEvent( InputEventInfo &inputEvent ) { - if (!mInputController || !mFocused) + if (!mInputController)// || !mFocused) return; if (inputEvent.action == SI_MAKE && inputEvent.deviceType == KeyboardDeviceType) @@ -331,7 +331,7 @@ void WindowInputGenerator::handleKeyboard( WindowId did, U32 modifier, U32 actio void WindowInputGenerator::handleInputEvent( U32 deviceInst, F32 fValue, F32 fValue2, F32 fValue3, F32 fValue4, S32 iValue, U16 deviceType, U16 objType, U16 ascii, U16 objInst, U8 action, U8 modifier ) { // Skip it if we don't have focus. - if(!mInputController || !mFocused) + if(!mInputController)// || !mFocused) return; // Convert to an InputEventInfo and pass it around for processing.