Skip to content
Browse files

Fix XboxInputState being to small for XInputGetStateEx calls

The XboxInputState structure we used was only compatible
to the XInputGetState function. The undocumented
XboxInputStateEx function we prefer requires additional
padding at the end of the structure.

Fixes #2018
Fixes #2016
  • Loading branch information...
hacst committed Dec 24, 2015
1 parent fe81316 commit c2bbcd572edd3acfe7d20932ee85e2c8a63cc8c4
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/mumble/XboxInput.h
@@ -56,6 +56,7 @@ struct XboxInputState {
uint16_t leftThumbY;
uint16_t rightThumbY;
uint16_t rightThumbX;
uint32_t paddingReserved; // Required for XInputGetStateEx. Not required for XInputGetState.

/// XboxInput is an XInput wrapper that dynamically loads an appropriate

0 comments on commit c2bbcd5

Please sign in to comment.
You can’t perform that action at this time.