zenilib
0.5.3.0
|
#include "SDL_config.h"
#include "../../core/windows/SDL_windows.h"
#include <dinput.h>
#include <wbemcli.h>
#include <oleauto.h>
#include <xinput.h>
#include <devguid.h>
#include <dbt.h>
Go to the source code of this file.
Classes | |
struct | input_t |
struct | joystick_hwdata |
struct | XINPUT_GAMEPAD_EX |
struct | XINPUT_STATE_EX |
Macros | |
#define | COBJMACROS |
#define | DIRECTINPUT_VERSION 0x0800 /* Need version 7 for force feedback. Need version 8 so IDirectInput8_EnumDevices doesn't leak like a sieve... */ |
#define | INVALID_XINPUT_USERID XUSER_INDEX_ANY |
#define | MAX_INPUTS 256 /* each joystick can have up to 256 inputs */ |
#define | SDL_XINPUT_MAX_DEVICES XUSER_MAX_COUNT |
#define | XINPUT_CAPS_FFB_SUPPORTED 0x0001 |
#define | XINPUTGETCAPABILITIES SDL_XInputGetCapabilities |
#define | XINPUTGETSTATE SDL_XInputGetState |
#define | XINPUTSETSTATE SDL_XInputSetState |
#define | XUSER_INDEX_ANY 0x000000FF |
#define | XUSER_MAX_COUNT 4 |
Typedefs | |
typedef DWORD | dwFlags |
typedef struct input_t | input_t |
typedef DWORD XINPUT_CAPABILITIES * | pCapabilities |
typedef XINPUT_STATE_EX * | pState |
typedef XINPUT_VIBRATION * | pVibration |
typedef enum Type | Type |
Enumerations | |
enum | Type { BUTTON, AXIS, HAT } |
Functions | |
typedef | DWORD (WINAPI *XInputGetState_t)(DWORD dwUserIndex |
int | WIN_LoadXInputDLL (void) |
void | WIN_UnloadXInputDLL (void) |
Variables | |
XInputGetCapabilities_t | SDL_XInputGetCapabilities |
XInputGetState_t | SDL_XInputGetState |
XInputSetState_t | SDL_XInputSetState |
DWORD | SDL_XInputVersion |
#define COBJMACROS |
Definition at line 39 of file SDL_dxjoystick_c.h.
#define DIRECTINPUT_VERSION 0x0800 /* Need version 7 for force feedback. Need version 8 so IDirectInput8_EnumDevices doesn't leak like a sieve... */ |
Definition at line 37 of file SDL_dxjoystick_c.h.
#define INVALID_XINPUT_USERID XUSER_INDEX_ANY |
Definition at line 108 of file SDL_dxjoystick_c.h.
#define MAX_INPUTS 256 /* each joystick can have up to 256 inputs */ |
Definition at line 111 of file SDL_dxjoystick_c.h.
#define SDL_XINPUT_MAX_DEVICES XUSER_MAX_COUNT |
Definition at line 109 of file SDL_dxjoystick_c.h.
#define XINPUT_CAPS_FFB_SUPPORTED 0x0001 |
Definition at line 54 of file SDL_dxjoystick_c.h.
#define XINPUTGETCAPABILITIES SDL_XInputGetCapabilities |
Definition at line 107 of file SDL_dxjoystick_c.h.
#define XINPUTGETSTATE SDL_XInputGetState |
Definition at line 105 of file SDL_dxjoystick_c.h.
#define XINPUTSETSTATE SDL_XInputSetState |
Definition at line 106 of file SDL_dxjoystick_c.h.
#define XUSER_INDEX_ANY 0x000000FF |
Definition at line 51 of file SDL_dxjoystick_c.h.
#define XUSER_MAX_COUNT 4 |
Definition at line 48 of file SDL_dxjoystick_c.h.
Definition at line 93 of file SDL_dxjoystick_c.h.
typedef DWORD XINPUT_CAPABILITIES* pCapabilities |
Definition at line 93 of file SDL_dxjoystick_c.h.
typedef XINPUT_STATE_EX* pState |
Definition at line 82 of file SDL_dxjoystick_c.h.
typedef XINPUT_VIBRATION* pVibration |
Definition at line 88 of file SDL_dxjoystick_c.h.
enum Type |
Enumerator | |
---|---|
BUTTON | |
AXIS | |
HAT |
Definition at line 115 of file SDL_dxjoystick_c.h.
typedef DWORD | ( | WINAPI * | XInputGetState_t | ) |
Referenced by Zeni::Video_DX9::begin_render(), DECLARE_INTERFACE(), DECLARE_INTERFACE_(), DSoundAvailableSamples(), DSoundPlaybackProc(), DSoundResetPlayback(), FillCPUCaps(), GetLastXmaFrameBitPosition(), GetStandardChannelMaskFromXmaMask(), GetXmaBlockContainingSample(), GetXmaDecodePositionForSample(), GetXmaFrameBitPosition(), GetXmaFrameLengthInBits(), GetXmaPacketFirstFrameOffsetInBits(), GetXmaPacketFrameCount(), GetXmaPacketMetadata(), GetXmaPacketSkipCount(), GetXmaSampleRate(), Zeni::Video_DX9::init_context(), Zeni::Video_DX9::init_device(), launch(), MMDevApiProc(), OS_AllocTLSIndex(), SDL_LogOutput(), SDLNet_GetLocalAddresses(), Zeni::Fog::set(), Zeni::Video_DX9::set_alpha_test(), Zeni::Video_DX9::set_Light(), Zeni::Video_DX9::set_lighting(), Zeni::Video_DX9::set_viewport(), Zeni::Video_DX9::set_zwrite(), Zeni::Shader_DX9::Shader_DX9(), Zeni::Video_DX9::unset_Light(), and WinMMOpenCapture().
XInputGetCapabilities_t SDL_XInputGetCapabilities |
XInputGetState_t SDL_XInputGetState |
XInputSetState_t SDL_XInputSetState |
DWORD SDL_XInputVersion |