سؤال

How should I understand this documentation: http://msdn.microsoft.com/en-us/library/dd757116%28v=VS.85%29.aspx

Can I only use 4 buttons and 1 analog stick? I've got a gamepad with 12 buttons, 2 analog joysticks and one "steering cross" (POV hat?). How many of these buttons can I use with winmm?

هل كانت مفيدة؟

المحلول

If you need more axis than are supported by winmm, consider DirectInput.

However, the page you linked clearly states that up to 32 buttons and 6 axes (3 2-D analog sticks) are supported by winmm. Looks like your gamepad will max out on axes, using all 6, and also use 12 out of 32 buttons.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top