I'm trying to use an xbox controller in WPF and I seem to have run into a problem.
I was able to grab the input from XNA using a gamepad
Microsoft.Xna.Framework.Input.GamePadState currentState = Microsoft.Xna.Framework.Input.GamePad.GetState(Microsoft.Xna.Framework.PlayerIndex.One);
but I can't figure out how to make WPF trigger the say "KeyPressed" event when something on the controller is pressed.
I tried doing some research but I couldn't find anything too specific or if I do they most of the time aren't answered. I found this below but it doesn't seem to answer how you could actually do this:
Can you program buttons on a gamepad to bind with mouse/keybourd input?