Restore an original struct name
This was buried in the Linux port
This commit is contained in:
parent
d12ee0813f
commit
a2ecd75271
3 changed files with 4 additions and 4 deletions
|
@ -161,7 +161,7 @@ BOOL CALLBACK EnumDevices_Callback(LPCDIDEVICEINSTANCE lpddi, LPVOID pvRef)
|
|||
return DIENUM_STOP;
|
||||
}
|
||||
|
||||
BOOL GetJoystickStatus(JOYSTICK_STATUS *status)
|
||||
BOOL GetJoystickStatus(DIRECTINPUTSTATUS *status)
|
||||
{
|
||||
DIJOYSTATE joystate;
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include "WindowsWrapper.h"
|
||||
|
||||
struct JOYSTICK_STATUS
|
||||
struct DIRECTINPUTSTATUS
|
||||
{
|
||||
BOOL bLeft;
|
||||
BOOL bRight;
|
||||
|
@ -13,5 +13,5 @@ struct JOYSTICK_STATUS
|
|||
|
||||
void ReleaseDirectInput(void);
|
||||
BOOL InitDirectInput(HINSTANCE hinst, HWND hWnd);
|
||||
BOOL GetJoystickStatus(JOYSTICK_STATUS *status);
|
||||
BOOL GetJoystickStatus(DIRECTINPUTSTATUS *status);
|
||||
BOOL ResetJoystickStatus(void);
|
||||
|
|
|
@ -775,7 +775,7 @@ BOOL SystemTask(void)
|
|||
void JoystickProc(void)
|
||||
{
|
||||
int i;
|
||||
JOYSTICK_STATUS status;
|
||||
DIRECTINPUTSTATUS status;
|
||||
|
||||
if (!GetJoystickStatus(&status))
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue