20 #ifndef __WINE_XINPUT_H 21 #define __WINE_XINPUT_H 32 #define XINPUT_GAMEPAD_DPAD_UP 0x0001 33 #define XINPUT_GAMEPAD_DPAD_DOWN 0x0002 34 #define XINPUT_GAMEPAD_DPAD_LEFT 0x0004 35 #define XINPUT_GAMEPAD_DPAD_RIGHT 0x0008 36 #define XINPUT_GAMEPAD_START 0x0010 37 #define XINPUT_GAMEPAD_BACK 0x0020 38 #define XINPUT_GAMEPAD_LEFT_THUMB 0x0040 39 #define XINPUT_GAMEPAD_RIGHT_THUMB 0x0080 40 #define XINPUT_GAMEPAD_LEFT_SHOULDER 0x0100 41 #define XINPUT_GAMEPAD_RIGHT_SHOULDER 0x0200 42 #define XINPUT_GAMEPAD_A 0x1000 43 #define XINPUT_GAMEPAD_B 0x2000 44 #define XINPUT_GAMEPAD_X 0x4000 45 #define XINPUT_GAMEPAD_Y 0x8000 52 #define XINPUT_KEYSTROKE_KEYDOWN 0x0001 53 #define XINPUT_KEYSTROKE_KEYUP 0x0002 54 #define XINPUT_KEYSTROKE_REPEAT 0x0004 60 #define VK_PAD_A 0x5800 61 #define VK_PAD_B 0x5801 62 #define VK_PAD_X 0x5802 63 #define VK_PAD_Y 0x5803 64 #define VK_PAD_RSHOULDER 0x5804 65 #define VK_PAD_LSHOULDER 0x5805 66 #define VK_PAD_LTRIGGER 0x5806 67 #define VK_PAD_RTRIGGER 0x5807 68 #define VK_PAD_DPAD_UP 0x5810 69 #define VK_PAD_DPAD_DOWN 0x5811 70 #define VK_PAD_DPAD_LEFT 0x5812 71 #define VK_PAD_DPAD_RIGHT 0x5813 72 #define VK_PAD_START 0x5814 73 #define VK_PAD_BACK 0x5815 74 #define VK_PAD_LTHUMB_PRESS 0x5816 75 #define VK_PAD_RTHUMB_PRESS 0x5817 76 #define VK_PAD_LTHUMB_UP 0x5820 77 #define VK_PAD_LTHUMB_DOWN 0x5821 78 #define VK_PAD_LTHUMB_RIGHT 0x5822 79 #define VK_PAD_LTHUMB_LEFT 0x5823 80 #define VK_PAD_LTHUMB_UPLEFT 0x5824 81 #define VK_PAD_LTHUMB_UPRIGHT 0x5825 82 #define VK_PAD_LTHUMB_DOWNRIGHT 0x5826 83 #define VK_PAD_LTHUMB_DOWNLEFT 0x5827 84 #define VK_PAD_RTHUMB_UP 0x5830 85 #define VK_PAD_RTHUMB_DOWN 0x5831 86 #define VK_PAD_RTHUMB_RIGHT 0x5832 87 #define VK_PAD_RTHUMB_LEFT 0x5833 88 #define VK_PAD_RTHUMB_UPLEFT 0x5834 89 #define VK_PAD_RTHUMB_UPRIGHT 0x5835 90 #define VK_PAD_RTHUMB_DOWNRIGHT 0x5836 91 #define VK_PAD_RTHUMB_DOWNLEFT 0x5837 101 #define XINPUT_GAMEPAD_LEFT_THUMB_DEADZONE 7849 102 #define XINPUT_GAMEPAD_RIGHT_THUMB_DEADZONE 8689 103 #define XINPUT_GAMEPAD_TRIGGER_THRESHOLD 30 113 #define XINPUT_DEVTYPE_GAMEPAD 0x01 114 #define XINPUT_DEVSUBTYPE_GAMEPAD 0x01 115 #define XINPUT_DEVSUBTYPE_WHEEL 0x02 116 #define XINPUT_DEVSUBTYPE_ARCADE_STICK 0x03 117 #define XINPUT_DEVSUBTYPE_FLIGHT_SICK 0x04 118 #define XINPUT_DEVSUBTYPE_DANCE_PAD 0x05 119 #define XINPUT_DEVSUBTYPE_GUITAR 0x06 120 #define XINPUT_DEVSUBTYPE_DRUM_KIT 0x08 128 #define XINPUT_CAPS_VOICE_SUPPORTED 0x0004 129 #define XINPUT_FLAG_GAMEPAD 0x00000001 139 #define BATTERY_DEVTYPE_GAMEPAD 0x00 140 #define BATTERY_DEVTYPE_HEADSET 0x01 141 #define BATTERY_TYPE_DISCONNECTED 0x00 142 #define BATTERY_TYPE_WIRED 0x01 143 #define BATTERY_TYPE_ALKALINE 0x02 144 #define BATTERY_TYPE_NIMH 0x03 145 #define BATTERY_TYPE_UNKNOWN 0xFF 146 #define BATTERY_LEVEL_EMPTY 0x00 147 #define BATTERY_LEVEL_LOW 0x01 148 #define BATTERY_LEVEL_MEDIUM 0x02 149 #define BATTERY_LEVEL_FULL 0x03 156 #define XUSER_MAX_COUNT 4 157 #define XUSER_INDEX_ANY 0x000000FF