mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2025-02-07 13:41:02 +00:00
- Added tagRAWINPUT declaration to i_input.h for support of older Windows SDKs.
SVN r1666 (trunk)
This commit is contained in:
parent
397c1eda26
commit
8d83d3791d
1 changed files with 3 additions and 1 deletions
|
@ -57,13 +57,15 @@ extern void DI_EnumJoy ();
|
||||||
#ifdef USE_WINDOWS_DWORD
|
#ifdef USE_WINDOWS_DWORD
|
||||||
// Don't make these definitions available to the main body of the source code.
|
// Don't make these definitions available to the main body of the source code.
|
||||||
|
|
||||||
|
struct tagRAWINPUT;
|
||||||
|
|
||||||
class FInputDevice
|
class FInputDevice
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual ~FInputDevice() = 0;
|
virtual ~FInputDevice() = 0;
|
||||||
virtual bool GetDevice() = 0;
|
virtual bool GetDevice() = 0;
|
||||||
virtual void ProcessInput();
|
virtual void ProcessInput();
|
||||||
virtual bool ProcessRawInput(RAWINPUT *raw, int code);
|
virtual bool ProcessRawInput(tagRAWINPUT *raw, int code);
|
||||||
virtual bool WndProcHook(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, LRESULT *result);
|
virtual bool WndProcHook(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, LRESULT *result);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue