sharpdx / SharpDX

SharpDX GitHub Repository
http://sharpdx.org
MIT License
1.68k stars 642 forks source link

Missing trigger detection on Nyko Playpad Pro #1116

Open arthurthlee opened 5 years ago

arthurthlee commented 5 years ago

Hello, I am using a Nyko Playpad Pro controller, and was using XOutput (https://github.com/csutorasa/XOutput/issues/72) to map Directinput to Xinput. I originally thought the issue was in the XOutput program, but after tracing through it, it seems like even SharpDX's Joystick.GetObjects() call does not return back the left and right triggers on my controller. Calling this method returns back 24 objects; 6 of which are defined as AbsoluteAxis, 18 PushButtons, 1 Collection (not sure what this is) and 1 Hat Switch (also not sure what this is).

I can see that the triggers are detected on this site, which uses Mozilla's Gamepad API: http://html5gamepad.com/

Is there any logical explanation as to why this is happening?

Thanks