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

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

css - Can I use the :after pseudo-element on an input field? -