Skip to content
This repository was archived by the owner on Mar 30, 2019. It is now read-only.

Commit d7e5bcf

Browse files
authored
Merge pull request #992 from amerkoleci/xinput_fix
Fix XInput GamepadButtonFlags issue.
2 parents ca06100 + 6f98195 commit d7e5bcf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/SharpDX.XInput/Mapping.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
<map enum="XINPUT_CAPS_FLAGS" name="CapabilityFlags" type="short"/>
9595
<map enum-item="XINPUT_CAPS_(.*)" name-tmp="$1"/>
9696

97-
<map enum="XINPUT_GAMEPAD_BUTTON_FLAGS" name="GamepadButtonFlags" flags="true" none="true" type="int"/>
97+
<map enum="XINPUT_GAMEPAD_BUTTON_FLAGS" name="GamepadButtonFlags" flags="true" none="true" type="short"/>
9898
<map enum-item="XINPUT_GAMEPAD_(.*)" name-tmp="$1"/>
9999
<map enum-item="XINPUT_GAMEPAD_DPAD_(.*)" name-tmp="D_PAD_$1"/>
100100

0 commit comments

Comments
 (0)