mirror of
https://github.com/glfw/glfw.git
synced 2025-02-28 00:23:25 +00:00
Update xinput.h
This commit is contained in:
parent
b062262fcc
commit
4353b62251
10
deps/mingw/xinput.h
vendored
10
deps/mingw/xinput.h
vendored
@ -117,7 +117,10 @@
|
||||
#define XINPUT_DEVSUBTYPE_FLIGHT_SICK 0x04
|
||||
#define XINPUT_DEVSUBTYPE_DANCE_PAD 0x05
|
||||
#define XINPUT_DEVSUBTYPE_GUITAR 0x06
|
||||
#define XINPUT_DEVSUBTYPE_GUITAR_ALTERNATE 0x07
|
||||
#define XINPUT_DEVSUBTYPE_DRUM_KIT 0x08
|
||||
#define XINPUT_DEVSUBTYPE_GUITAR_BASS 0x0b
|
||||
#define XINPUT_DEVSUBTYPE_ARCADE_PAD 0x13
|
||||
|
||||
/*
|
||||
* These are used with the XInputGetCapabilities function to
|
||||
@ -156,6 +159,11 @@
|
||||
#define XUSER_MAX_COUNT 4
|
||||
#define XUSER_INDEX_ANY 0x000000FF
|
||||
|
||||
#define XINPUT_CAPS_FFB_SUPPORTED 0x0001
|
||||
#define XINPUT_CAPS_WIRELESS 0x0002
|
||||
#define XINPUT_CAPS_PMD_SUPPORTED 0x0008
|
||||
#define XINPUT_CAPS_NO_NAVIGATION 0x0010
|
||||
|
||||
/*
|
||||
* Defines the structure of an xbox 360 joystick.
|
||||
*/
|
||||
@ -232,6 +240,8 @@ DWORD WINAPI XInputGetCapabilities(DWORD, DWORD, XINPUT_CAPABILITIES*);
|
||||
DWORD WINAPI XInputGetDSoundAudioDeviceGuids(DWORD, GUID*, GUID*);
|
||||
DWORD WINAPI XInputGetBatteryInformation(DWORD, BYTE, XINPUT_BATTERY_INFORMATION*);
|
||||
|
||||
DWORD WINAPI XInputGetStateEx(DWORD, XINPUT_STATE*);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user