Go to the source code of this file.
Macros | |
| #define | DIRECTINPUT_VERSION 0x0700 |
| #define | DIDFT_OPTIONAL 0x80000000 |
| #define | DEFINE_STATIC_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) static const GUID _##name = { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } } |
Typedefs | |
| typedef HRESULT(WINAPI * | LPDIRECTINPUTCREATE) (HINSTANCE, DWORD, LPDIRECTINPUT *, LPUNKNOWN) |
Functions | |
| DEFINE_STATIC_GUID (GUID_SysMouse, 0x6F1D2B60, 0xD5A0, 0x11CF, 0xBF, 0xC7, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00) | |
| DEFINE_STATIC_GUID (GUID_XAxis, 0xA36D02E0, 0xC9F3, 0x11CF, 0xBF, 0xC7, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00) | |
| DEFINE_STATIC_GUID (GUID_YAxis, 0xA36D02E1, 0xC9F3, 0x11CF, 0xBF, 0xC7, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00) | |
| DEFINE_STATIC_GUID (GUID_ZAxis, 0xA36D02E2, 0xC9F3, 0x11CF, 0xBF, 0xC7, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00) | |
| static void | DI_GetMouseEvents (void) |
| static qboolean | DI_GetMouseMotion (int *dx, int *dy) |
| static void | DI_ShutdownMouse (void) |
| static qboolean | DI_InitMouse (void) |
| static void | DI_GrabMouse (grab_t grab) |
| void | DI_FillAPI (inputAPI_t *api) |
Variables | |
| static HMODULE | hDirectInput |
| static LPDIRECTINPUTCREATE | pDirectInputCreate |
| static grab_t | di_grabbed |
| static qboolean | di_initialized |
| static LPDIRECTINPUT | di |
| static LPDIRECTINPUTDEVICE | di_mouse |
| static const DIOBJECTDATAFORMAT | mouseObjectDataFormat [] |
| static const DIDATAFORMAT | mouseDataFormat |
| static const DIPROPDWORD | mouseBufferSize |
| #define DEFINE_STATIC_GUID | ( | name, | |
| l, | |||
| w1, | |||
| w2, | |||
| b1, | |||
| b2, | |||
| b3, | |||
| b4, | |||
| b5, | |||
| b6, | |||
| b7, | |||
| b8 | |||
| ) | static const GUID _##name = { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } } |
| typedef HRESULT(WINAPI * LPDIRECTINPUTCREATE) (HINSTANCE, DWORD, LPDIRECTINPUT *, LPUNKNOWN) |
| DEFINE_STATIC_GUID | ( | GUID_SysMouse | , |
| 0x6F1D2B60 | , | ||
| 0xD5A0 | , | ||
| 0x11CF | , | ||
| 0xBF | , | ||
| 0xC7 | , | ||
| 0x44 | , | ||
| 0x45 | , | ||
| 0x53 | , | ||
| 0x54 | , | ||
| 0x00 | , | ||
| 0x00 | |||
| ) |
| DEFINE_STATIC_GUID | ( | GUID_XAxis | , |
| 0xA36D02E0 | , | ||
| 0xC9F3 | , | ||
| 0x11CF | , | ||
| 0xBF | , | ||
| 0xC7 | , | ||
| 0x44 | , | ||
| 0x45 | , | ||
| 0x53 | , | ||
| 0x54 | , | ||
| 0x00 | , | ||
| 0x00 | |||
| ) |
| DEFINE_STATIC_GUID | ( | GUID_YAxis | , |
| 0xA36D02E1 | , | ||
| 0xC9F3 | , | ||
| 0x11CF | , | ||
| 0xBF | , | ||
| 0xC7 | , | ||
| 0x44 | , | ||
| 0x45 | , | ||
| 0x53 | , | ||
| 0x54 | , | ||
| 0x00 | , | ||
| 0x00 | |||
| ) |
| DEFINE_STATIC_GUID | ( | GUID_ZAxis | , |
| 0xA36D02E2 | , | ||
| 0xC9F3 | , | ||
| 0x11CF | , | ||
| 0xBF | , | ||
| 0xC7 | , | ||
| 0x44 | , | ||
| 0x45 | , | ||
| 0x53 | , | ||
| 0x54 | , | ||
| 0x00 | , | ||
| 0x00 | |||
| ) |
| void DI_FillAPI | ( | inputAPI_t * | api | ) |
|
static |
|
static |
Definition at line 205 of file dinput.c.
Referenced by DI_FillAPI().
|
static |
Definition at line 40 of file dinput.c.
Referenced by DI_InitMouse(), and DI_ShutdownMouse().
|
static |
Definition at line 38 of file dinput.c.
Referenced by DI_GetMouseEvents(), DI_GetMouseMotion(), DI_GrabMouse(), and DI_ShutdownMouse().
|
static |
Definition at line 39 of file dinput.c.
Referenced by DI_GrabMouse(), DI_InitMouse(), and DI_ShutdownMouse().
|
static |
Definition at line 41 of file dinput.c.
Referenced by DI_GetMouseEvents(), DI_GetMouseMotion(), DI_GrabMouse(), DI_InitMouse(), and DI_ShutdownMouse().
|
static |
Definition at line 32 of file dinput.c.
Referenced by DI_InitMouse().
|
static |
Definition at line 74 of file dinput.c.
Referenced by DI_InitMouse().
|
static |
Definition at line 65 of file dinput.c.
Referenced by DI_InitMouse().
|
static |
|
static |
Definition at line 36 of file dinput.c.
Referenced by DI_InitMouse().