What is the difference between GamepadButtonFlags and GamepadKeyCode in SharpDX.XInput? -
i'm adding gamepad support app , i'd make sure i'm not misusing either of determining whether key has been pressed. purpose of either gamepadbuttonflags
, gamepadkeycode
? there guidelines should used in cases, or interchangeable?
turns out (at least version using), gamepadbuttonflags
has fewer key flags wants full controller support want. gamepadkeycode
has keycodes, couldn't find way make them work, , googling gave me 9 search results, including (my own) post.
so swapped sharpdx slimdx , same methods worked flawlessly gamepadkeycode.
Comments
Post a Comment