#include <config.h>
#include <wine/debug.h>
#include <winbase.h>
#include <xinput.h>
Go to the source code of this file.
|
| WINE_DEFAULT_DEBUG_CHANNEL (xinput) |
|
BOOL WINAPI | DllMain (HINSTANCE inst, DWORD reason, LPVOID reserved) |
|
void WINAPI DECLSPEC_HOTPATCH | XInputEnable (BOOL enable) |
|
DWORD WINAPI | XInputSetState (DWORD index, XINPUT_VIBRATION *vibration) |
|
DWORD WINAPI DECLSPEC_HOTPATCH | XInputGetState (DWORD index, XINPUT_STATE *state) |
|
DWORD WINAPI DECLSPEC_HOTPATCH | XInputGetStateEx (DWORD index, XINPUT_STATE_EX *state_ex) |
|
DWORD WINAPI | XInputGetKeystroke (DWORD index, DWORD reserved, PXINPUT_KEYSTROKE keystroke) |
|
DWORD WINAPI | XInputGetCapabilities (DWORD index, DWORD flags, XINPUT_CAPABILITIES *capabilities) |
|
DWORD WINAPI | XInputGetDSoundAudioDeviceGuids (DWORD index, GUID *render_guid, GUID *capture_guid) |
|
DWORD WINAPI | XInputGetBatteryInformation (DWORD index, BYTE type, XINPUT_BATTERY_INFORMATION *battery) |
|
◆ XINPUT_GAMEPAD_GUIDE
#define XINPUT_GAMEPAD_GUIDE 0x0400 |
◆ DllMain()
Definition at line 42 of file xinput1_3_main.c.
43{
45 {
48 break;
49 }
51}
static WCHAR reason[MAX_STRING_RESOURCE_LEN]
#define DLL_PROCESS_ATTACH
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
◆ WINE_DEFAULT_DEBUG_CHANNEL()
WINE_DEFAULT_DEBUG_CHANNEL |
( |
xinput |
| ) |
|
◆ XInputEnable()
◆ XInputGetBatteryInformation()
Definition at line 155 of file xinput1_3_main.c.
156{
157 FIXME(
"(index %u, type %u, battery %p) Stub!\n",
index,
type, battery);
158
163
165}
#define ERROR_NOT_SUPPORTED
GLuint GLuint GLsizei GLenum type
#define ERROR_DEVICE_NOT_CONNECTED
#define ERROR_BAD_ARGUMENTS
struct @615 controllers[XUSER_MAX_COUNT]
◆ XInputGetCapabilities()
Definition at line 128 of file xinput1_3_main.c.
129{
130 static int warn_once;
131
132 if (!warn_once++)
133 FIXME(
"(index %u, flags 0x%x, capabilities %p) Stub!\n",
index,
flags, capabilities);
134
139
141}
◆ XInputGetDSoundAudioDeviceGuids()
Definition at line 143 of file xinput1_3_main.c.
144{
145 FIXME(
"(index %u, render guid %p, capture guid %p) Stub!\n",
index, render_guid, capture_guid);
146
151
153}
◆ XInputGetKeystroke()
Definition at line 113 of file xinput1_3_main.c.
114{
115 static int warn_once;
116
117 if (!warn_once++)
119
124
126}
◆ XInputGetState()
Definition at line 74 of file xinput1_3_main.c.
75{
76 union
77 {
80 } xinput;
82 static int warn_once;
83
84 if (!warn_once++)
86
90
91
92 xinput.state.Gamepad.wButtons &= ~XINPUT_GAMEPAD_GUIDE;
93 *
state = xinput.state;
94
96}
DWORD WINAPI DECLSPEC_HOTPATCH XInputGetStateEx(DWORD index, XINPUT_STATE_EX *state_ex)
◆ XInputGetStateEx()
◆ XInputSetState()
◆ connected
Definition at line 39 of file xinput1_3_main.c.
Referenced by disconnect(), domacro(), doproxy(), Parser_Destroy(), proxtrans(), pswitch(), quit(), SendFurther(), setpeer(), status(), WNetClearConnections(), XInputGetBatteryInformation(), XInputGetCapabilities(), XInputGetDSoundAudioDeviceGuids(), XInputGetKeystroke(), XInputGetStateEx(), and XInputSetState().