ReactOS 0.4.16-dev-297-gc569aee
data_formats.c File Reference
#include <stdarg.h>
#include "windef.h"
#include "dinput.h"
Include dependency graph for data_formats.c:

Go to the source code of this file.

Variables

static const DIOBJECTDATAFORMAT dfDIJoystick []
 
const DIDATAFORMAT c_dfDIJoystick
 
static const DIOBJECTDATAFORMAT dfDIJoystick2 []
 
const DIDATAFORMAT c_dfDIJoystick2
 
static const DIOBJECTDATAFORMAT dfDIMouse []
 
const DIDATAFORMAT c_dfDIMouse
 
static const DIOBJECTDATAFORMAT dfDIMouse2 []
 
const DIDATAFORMAT c_dfDIMouse2
 
static const DIOBJECTDATAFORMAT dfDIKeyboard []
 
const DIDATAFORMAT c_dfDIKeyboard
 

Variable Documentation

◆ c_dfDIJoystick

const DIDATAFORMAT c_dfDIJoystick
Initial value:
= {
sizeof(DIDATAFORMAT),
sizeof(DIJOYSTATE),
}
#define ARRAY_SIZE(A)
Definition: main.h:20
static const DIOBJECTDATAFORMAT dfDIJoystick[]
Definition: data_formats.c:28
struct _DIDATAFORMAT DIDATAFORMAT
struct _DIOBJECTDATAFORMAT * LPDIOBJECTDATAFORMAT
#define DIDF_ABSAXIS
Definition: dinput.h:775

Definition at line 75 of file data_formats.c.

Referenced by EnumJoysticks().

◆ c_dfDIJoystick2

const DIDATAFORMAT c_dfDIJoystick2
Initial value:
= {
sizeof(DIDATAFORMAT),
sizeof(DIJOYSTATE2),
}
static const DIOBJECTDATAFORMAT dfDIJoystick2[]
Definition: data_formats.c:84

Definition at line 251 of file data_formats.c.

Referenced by EnumJoysticks().

◆ c_dfDIKeyboard

const DIDATAFORMAT c_dfDIKeyboard
Initial value:
= {
sizeof(DIDATAFORMAT),
256,
}
static const DIOBJECTDATAFORMAT dfDIKeyboard[]
Definition: data_formats.c:302
#define DIDF_RELAXIS
Definition: dinput.h:776

Definition at line 561 of file data_formats.c.

Referenced by acquire_tests(), alloc_device(), SysKeyboardWImpl_BuildActionMap(), SysKeyboardWImpl_SetActionMap(), test_dik_codes(), and test_mouse_keyboard().

◆ c_dfDIMouse

const DIDATAFORMAT c_dfDIMouse
Initial value:
= {
sizeof(DIDATAFORMAT),
sizeof(DIMOUSESTATE),
}
static const DIOBJECTDATAFORMAT dfDIMouse[]
Definition: data_formats.c:260

Definition at line 270 of file data_formats.c.

Referenced by test_acquire(), and test_mouse_keyboard().

◆ c_dfDIMouse2

const DIDATAFORMAT c_dfDIMouse2
Initial value:
= {
sizeof(DIDATAFORMAT),
sizeof(DIMOUSESTATE2),
}
static const DIOBJECTDATAFORMAT dfDIMouse2[]
Definition: data_formats.c:279

Definition at line 293 of file data_formats.c.

Referenced by alloc_device(), SysMouseWImpl_BuildActionMap(), and SysMouseWImpl_SetActionMap().

◆ dfDIJoystick

const DIOBJECTDATAFORMAT dfDIJoystick[]
static

Definition at line 28 of file data_formats.c.

◆ dfDIJoystick2

const DIOBJECTDATAFORMAT dfDIJoystick2[]
static

Definition at line 84 of file data_formats.c.

◆ dfDIKeyboard

const DIOBJECTDATAFORMAT dfDIKeyboard[]
static

Definition at line 302 of file data_formats.c.

◆ dfDIMouse

const DIOBJECTDATAFORMAT dfDIMouse[]
static
Initial value:
= {
{ &GUID_XAxis, DIMOFS_X, DIDFT_ANYINSTANCE | DIDFT_AXIS, 0 },
{ &GUID_YAxis, DIMOFS_Y, DIDFT_ANYINSTANCE | DIDFT_AXIS, 0 },
}
#define DIMOFS_BUTTON0
Definition: dinput.h:2129
#define DIMOFS_BUTTON1
Definition: dinput.h:2130
#define DIMOFS_Z
Definition: dinput.h:2128
#define DIMOFS_Y
Definition: dinput.h:2127
#define DIDFT_AXIS
Definition: dinput.h:753
#define DIDFT_OPTIONAL
Definition: dinput.h:771
#define DIMOFS_BUTTON3
Definition: dinput.h:2132
#define DIMOFS_BUTTON2
Definition: dinput.h:2131
#define DIDFT_ANYINSTANCE
Definition: dinput.h:760
#define DIMOFS_X
Definition: dinput.h:2126
#define DIDFT_BUTTON
Definition: dinput.h:756

Definition at line 260 of file data_formats.c.

◆ dfDIMouse2

const DIOBJECTDATAFORMAT dfDIMouse2[]
static
Initial value:
= {
{ &GUID_XAxis, DIMOFS_X, DIDFT_ANYINSTANCE | DIDFT_AXIS, 0 },
{ &GUID_YAxis, DIMOFS_Y, DIDFT_ANYINSTANCE | DIDFT_AXIS, 0 },
}
#define DIMOFS_BUTTON6
Definition: dinput.h:2135
#define DIMOFS_BUTTON7
Definition: dinput.h:2136
#define DIMOFS_BUTTON4
Definition: dinput.h:2133
#define DIMOFS_BUTTON5
Definition: dinput.h:2134

Definition at line 279 of file data_formats.c.