mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-15 07:20:31 +02:00
Windows: add Force Input Device option;
This commit is contained in:
1 parent
eb371c4650
commit
e864569d0c
7 files changed
+34
-5
No files matched your search
@@ -17,6 +17,7 @@
|
||||
|
||||
#include <limits.h>
|
||||
#include "DinputDevice.h"
|
||||
#include "Core/Config.h"
|
||||
#include "input/input_state.h"
|
||||
#include "Core/Reporting.h"
|
||||
#include "Xinput.h"
|
||||
@@ -114,6 +115,7 @@ DinputDevice::~DinputDevice()
|
||||
|
||||
int DinputDevice::UpdateState(InputState &input_state)
|
||||
{
|
||||
if (g_Config.iForceInputDevice == 0) return -1;
|
||||
if (!pJoystick) return -1;
|
||||
|
||||
DIJOYSTATE2 js;
|
||||
|
||||
Reference in new issue
Block a user