Player 5 joystick fix
This commit is contained in:
@@ -84,8 +84,8 @@ RECT rcWindow;
|
||||
LPDIRECTINPUT8 DInput = NULL;
|
||||
LPDIRECTINPUTDEVICE8 MouseInput = NULL;
|
||||
LPDIRECTINPUTDEVICE8 KeyboardInput = NULL;
|
||||
LPDIRECTINPUTDEVICE8 JoystickInput[4];
|
||||
DIJOYSTATE js[4];
|
||||
LPDIRECTINPUTDEVICE8 JoystickInput[5];
|
||||
DIJOYSTATE js[5];
|
||||
|
||||
DWORD X1Disable[]={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
|
||||
DWORD X2Disable[]={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
|
||||
@@ -2573,7 +2573,7 @@ void WinUpdateDevices()
|
||||
|
||||
keys[0]=0;
|
||||
|
||||
for(i=0;i<4;i++)
|
||||
for(i=0;i<5;i++)
|
||||
{
|
||||
if (JoystickInput[i])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user