Game Development Reference
In-Depth Information
Button
#define
D-Pad up
XINPUT_GAMEPAD_DPAD_UP
D-Pad down
XINPUT_GAMEPAD_DPAD_DOWN
D-Pad left
XINPUT_GAMEPAD_DPAD_LEFT
D-Pad right
XINPUT_GAMEPAD_DPAD_RIGHT
A
XINPUT_GAMEPAD_A
B
XINPUT_GAMEPAD_B
X
XINPUT_GAMEPAD_X
Y
XINPUT_GAMEPAD_Y
For a full list of the buttons, visit http://msdn.microsoft.com/en-us/library/windows/
apps/microsoft.directx_sdk.reference.xinput_gamepad
Deadzones and thumbsticks
We have buttons! Specifically the D-Pad for moving the ship around. But that isn't
the usual movement control for games that use the Xbox 360 Controller. Alongside
our existing options we need to add support for the thumbstick, which is the common
Search WWH ::




Custom Search