revert background input for gamepads;

This commit is contained in:
CrazyMax committed 2013-04-28 13:16:30 +03:00
1 parent 15509420a8
commit 12c059fcb3
2 files changed
-4

No files matched your search

-2
View File
@@ -1,5 +1,4 @@
#include <limits.h>
#include "Windows/WndMainWindow.h"
#include "XinputDevice.h"
#include "Core/Config.h"
#include "input/input_state.h"
@@ -23,7 +22,6 @@ static Stick NormalizedDeadzoneFilter(short x, short y);
int XinputDevice::UpdateState(InputState &input_state) {
if (g_Config.iForceInputDevice > 0) return -1;
if (this->check_delay-- > 0) return -1;
if (MainWindow::GetHWND() != GetForegroundWindow()) return -1;
XINPUT_STATE state;
ZeroMemory( &state, sizeof(XINPUT_STATE) );