Disable input focus disable to preserve sanity (temp)

This commit is contained in:
James Urquhart 2016-04-25 23:26:54 +01:00
parent 126828131d
commit 639b397394

View file

@ -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.