2010-05-02 23:27:30 +00:00
|
|
|
#ifndef rawinput_h__
|
|
|
|
#define rawinput_h__
|
|
|
|
|
|
|
|
#include "compat.h"
|
|
|
|
|
2010-05-16 22:53:08 +00:00
|
|
|
void RI_PollDevices(BOOL loop);
|
|
|
|
void RI_ProcessMessage(MSG *msg);
|
|
|
|
BOOL RI_CaptureInput(BOOL grab, HWND target);
|
2010-05-02 23:27:30 +00:00
|
|
|
|
2010-05-03 08:30:25 +00:00
|
|
|
#ifndef VK_LBUTTON
|
2010-05-02 23:27:30 +00:00
|
|
|
#define VK_LBUTTON 0x01
|
2010-05-03 08:30:25 +00:00
|
|
|
#endif
|
|
|
|
#ifndef VK_RBUTTON
|
2010-05-02 23:27:30 +00:00
|
|
|
#define VK_RBUTTON 0x02
|
2010-05-03 08:30:25 +00:00
|
|
|
#endif
|
|
|
|
#ifndef VK_CANCEL
|
2010-05-02 23:27:30 +00:00
|
|
|
#define VK_CANCEL 0x03
|
2010-05-03 08:30:25 +00:00
|
|
|
#endif
|
|
|
|
#ifndef VK_MBUTTON
|
2010-05-02 23:27:30 +00:00
|
|
|
#define VK_MBUTTON 0x04 /* NOT contiguous with L & RBUTTON */
|
2010-05-03 08:30:25 +00:00
|
|
|
#endif
|
2010-05-02 23:27:30 +00:00
|
|
|
|
|
|
|
#endif // rawinput_h__
|
|
|
|
|