mirror of
https://github.com/PCSX2/pcsx2.git
synced 2025-04-02 10:52:54 -04:00
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@475 96395faa-99c1-11dd-bbfe-3dabce05a288
12 lines
451 B
C++
12 lines
451 B
C++
#include "InputManager.h"
|
|
|
|
// Shared functionality for WM and RAW keyboards.
|
|
class WindowsKeyboard : public Device {
|
|
public:
|
|
WindowsKeyboard(DeviceAPI api, wchar_t *displayName, wchar_t *instanceID=0, wchar_t *deviceID=0);
|
|
wchar_t *GetPhysicalControlName(PhysicalControl *control);
|
|
void UpdateKey(int vkey, int state);
|
|
// Calls AllocState() and initializes to current keyboard state using
|
|
// GetAsyncKeyState().
|
|
void InitState();
|
|
};
|