This repository was archived by the owner on Mar 30, 2019. It is now read-only.
Commit 83537be
authored
Update Mapping.xml - fix GamepadButtonsFlags
Change GamepadButtonFlags mapping from type short to int. This fixes an issue with Y flag being incorrectly mapped to Y = short.MinValue. It should be mapped to Y = 32768.
Here's the relevant DirectX doc section ..
typedef struct _XINPUT_GAMEPAD {
WORD wButtons;
...}
and this ...
XINPUT_GAMEPAD_X 0x4000
XINPUT_GAMEPAD_Y 0x80001 parent bbcfa73 commit 83537be
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
0 commit comments