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

Commit 94f2883

Browse files
authored
Merge pull request #963 from Gavin-Williams/master
Update Mapping.xml - fix GamepadButtonFlags
2 parents 474a48f + 83537be commit 94f2883

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Source/SharpDX.XInput/Mapping.xml

Lines changed: 2 additions & 2 deletions
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="short"/>
97+
<map enum="XINPUT_GAMEPAD_BUTTON_FLAGS" name="GamepadButtonFlags" flags="true" none="true" type="int"/>
9898
<map enum-item="XINPUT_GAMEPAD_(.*)" name-tmp="$1"/>
9999
<map enum-item="XINPUT_GAMEPAD_DPAD_(.*)" name-tmp="D_PAD_$1"/>
100100

@@ -161,4 +161,4 @@
161161

162162
<context-clear />
163163
</mapping>
164-
</config>
164+
</config>

0 commit comments

Comments
 (0)