
Besides, these are defined in Main.cpp, not KeyControl.cpp. Anyway, according to the Linux debug data, these two were never declared outside of Main.cpp, showing they were never declared in a header file.
17 lines
304 B
C
17 lines
304 B
C
#pragma once
|
|
|
|
#include "WindowsWrapper.h"
|
|
|
|
struct JOYSTICK_STATUS
|
|
{
|
|
BOOL bLeft;
|
|
BOOL bRight;
|
|
BOOL bUp;
|
|
BOOL bDown;
|
|
BOOL bButton[32];
|
|
};
|
|
|
|
void ReleaseDirectInput(void);
|
|
BOOL InitDirectInput(HINSTANCE hinst, HWND hWnd);
|
|
BOOL GetJoystickStatus(JOYSTICK_STATUS *status);
|
|
BOOL ResetJoystickStatus(void);
|